Skip to content

Commit

Permalink
chore(graphql): Test against correct search content object type (#1419)
Browse files Browse the repository at this point in the history
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->

## Summary by CodeRabbit

- **Tests**
- Updated test references to align with new data structures for improved
accuracy in dialog content type comparisons.

<!-- end of auto-generated comment: release notes by coderabbit.ai -->
  • Loading branch information
oskogstad authored Nov 8, 2024
1 parent a1be7c6 commit 3678e18
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
using Digdir.Domain.Dialogporten.Application.Features.V1.EndUser.Dialogs.Queries.Search;
using Digdir.Domain.Dialogporten.Domain.Dialogs.Entities.Contents;
using Digdir.Domain.Dialogporten.GraphQL.EndUser.SearchDialogs;
using Content = Digdir.Domain.Dialogporten.GraphQL.EndUser.DialogById.Content;

namespace Digdir.Domain.Dialogporten.GraphQl.Unit.Tests.ObjectTypes;
Expand Down Expand Up @@ -35,7 +35,7 @@ public void OutPutInList_DialogContentType_Names_Should_Match_Props_On_SearchCon
.Select(x => x.Name)
.ToList();

var dtoPropertyNames = typeof(ContentDto)
var dtoPropertyNames = typeof(SearchContent)
.GetProperties()
.Select(p => p.Name)
.ToList();
Expand Down

0 comments on commit 3678e18

Please sign in to comment.