@@ -58,15 +58,15 @@ await _testContext.RunOnDatabaseAsync(async dbContext =>
5858 responseDocument . Data . ManyValue [ 0 ] . Attributes . ShouldContainKey ( "durationInHours" ) . With ( value => value . Should ( ) . Be ( todoItems [ 1 ] . DurationInHours ) ) ;
5959 responseDocument . Data . ManyValue [ 0 ] . Attributes . ShouldContainKey ( "createdAt" ) . With ( value => value . Should ( ) . Be ( todoItems [ 1 ] . CreatedAt ) ) ;
6060 responseDocument . Data . ManyValue [ 0 ] . Attributes . ShouldContainKey ( "modifiedAt" ) . With ( value => value . Should ( ) . Be ( todoItems [ 1 ] . LastModifiedAt ) ) ;
61- responseDocument . Data . ManyValue [ 0 ] . Relationships . ShouldOnlyContainKeys ( "owner" , "assignee" , "tags" ) ;
61+ responseDocument . Data . ManyValue [ 0 ] . Relationships . Should ( ) . OnlyContainKeys ( "owner" , "assignee" , "tags" ) ;
6262
6363 responseDocument . Data . ManyValue [ 1 ] . Id . Should ( ) . Be ( todoItems [ 0 ] . StringId ) ;
6464 responseDocument . Data . ManyValue [ 1 ] . Attributes . ShouldContainKey ( "description" ) . With ( value => value . Should ( ) . Be ( todoItems [ 0 ] . Description ) ) ;
6565 responseDocument . Data . ManyValue [ 1 ] . Attributes . ShouldContainKey ( "priority" ) . With ( value => value . Should ( ) . Be ( todoItems [ 0 ] . Priority ) ) ;
6666 responseDocument . Data . ManyValue [ 1 ] . Attributes . ShouldContainKey ( "durationInHours" ) . With ( value => value . Should ( ) . Be ( todoItems [ 0 ] . DurationInHours ) ) ;
6767 responseDocument . Data . ManyValue [ 1 ] . Attributes . ShouldContainKey ( "createdAt" ) . With ( value => value . Should ( ) . Be ( todoItems [ 0 ] . CreatedAt ) ) ;
6868 responseDocument . Data . ManyValue [ 1 ] . Attributes . ShouldContainKey ( "modifiedAt" ) . With ( value => value . Should ( ) . Be ( todoItems [ 0 ] . LastModifiedAt ) ) ;
69- responseDocument . Data . ManyValue [ 1 ] . Relationships . ShouldOnlyContainKeys ( "owner" , "assignee" , "tags" ) ;
69+ responseDocument . Data . ManyValue [ 1 ] . Relationships . Should ( ) . OnlyContainKeys ( "owner" , "assignee" , "tags" ) ;
7070
7171 responseDocument . Meta . Should ( ) . ContainTotal ( 2 ) ;
7272
@@ -126,7 +126,7 @@ await _testContext.RunOnDatabaseAsync(async dbContext =>
126126 responseDocument . Data . SingleValue . Attributes . ShouldContainKey ( "durationInHours" ) . With ( value => value . Should ( ) . Be ( todoItem . DurationInHours ) ) ;
127127 responseDocument . Data . SingleValue . Attributes . ShouldContainKey ( "createdAt" ) . With ( value => value . Should ( ) . Be ( todoItem . CreatedAt ) ) ;
128128 responseDocument . Data . SingleValue . Attributes . ShouldContainKey ( "modifiedAt" ) . With ( value => value . Should ( ) . Be ( todoItem . LastModifiedAt ) ) ;
129- responseDocument . Data . SingleValue . Relationships . ShouldOnlyContainKeys ( "owner" , "assignee" , "tags" ) ;
129+ responseDocument . Data . SingleValue . Relationships . Should ( ) . OnlyContainKeys ( "owner" , "assignee" , "tags" ) ;
130130
131131 responseDocument . Meta . Should ( ) . BeNull ( ) ;
132132
@@ -216,11 +216,11 @@ await _testContext.RunOnDatabaseAsync(async dbContext =>
216216
217217 responseDocument . Data . ManyValue [ 0 ] . Id . Should ( ) . Be ( todoItem . Tags . ElementAt ( 0 ) . StringId ) ;
218218 responseDocument . Data . ManyValue [ 0 ] . Attributes . ShouldContainKey ( "name" ) . With ( value => value . Should ( ) . Be ( todoItem . Tags . ElementAt ( 0 ) . Name ) ) ;
219- responseDocument . Data . ManyValue [ 0 ] . Relationships . ShouldOnlyContainKeys ( "todoItem" , "color" ) ;
219+ responseDocument . Data . ManyValue [ 0 ] . Relationships . Should ( ) . OnlyContainKeys ( "todoItem" , "color" ) ;
220220
221221 responseDocument . Data . ManyValue [ 1 ] . Id . Should ( ) . Be ( todoItem . Tags . ElementAt ( 1 ) . StringId ) ;
222222 responseDocument . Data . ManyValue [ 1 ] . Attributes . ShouldContainKey ( "name" ) . With ( value => value . Should ( ) . Be ( todoItem . Tags . ElementAt ( 1 ) . Name ) ) ;
223- responseDocument . Data . ManyValue [ 1 ] . Relationships . ShouldOnlyContainKeys ( "todoItem" , "color" ) ;
223+ responseDocument . Data . ManyValue [ 1 ] . Relationships . Should ( ) . OnlyContainKeys ( "todoItem" , "color" ) ;
224224
225225 responseDocument . Meta . Should ( ) . ContainTotal ( 2 ) ;
226226
@@ -284,7 +284,7 @@ await _testContext.RunOnDatabaseAsync(async dbContext =>
284284 responseDocument . Data . SingleValue . Attributes . ShouldContainKey ( "firstName" ) . With ( value => value . Should ( ) . Be ( todoItem . Owner . FirstName ) ) ;
285285 responseDocument . Data . SingleValue . Attributes . ShouldContainKey ( "lastName" ) . With ( value => value . Should ( ) . Be ( todoItem . Owner . LastName ) ) ;
286286 responseDocument . Data . SingleValue . Attributes . ShouldContainKey ( "displayName" ) . With ( value => value . Should ( ) . Be ( todoItem . Owner . DisplayName ) ) ;
287- responseDocument . Data . SingleValue . Relationships . ShouldOnlyContainKeys ( "account" , "ownedTodoItems" , "assignedTodoItems" ) ;
287+ responseDocument . Data . SingleValue . Relationships . Should ( ) . OnlyContainKeys ( "account" , "ownedTodoItems" , "assignedTodoItems" ) ;
288288
289289 responseDocument . Meta . Should ( ) . BeNull ( ) ;
290290
0 commit comments