@@ -58,15 +58,15 @@ await _testContext.RunOnDatabaseAsync(async dbContext =>
58
58
responseDocument . Data . ManyValue [ 0 ] . Attributes . ShouldContainKey ( "durationInHours" ) . With ( value => value . Should ( ) . Be ( todoItems [ 1 ] . DurationInHours ) ) ;
59
59
responseDocument . Data . ManyValue [ 0 ] . Attributes . ShouldContainKey ( "createdAt" ) . With ( value => value . Should ( ) . Be ( todoItems [ 1 ] . CreatedAt ) ) ;
60
60
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" ) ;
62
62
63
63
responseDocument . Data . ManyValue [ 1 ] . Id . Should ( ) . Be ( todoItems [ 0 ] . StringId ) ;
64
64
responseDocument . Data . ManyValue [ 1 ] . Attributes . ShouldContainKey ( "description" ) . With ( value => value . Should ( ) . Be ( todoItems [ 0 ] . Description ) ) ;
65
65
responseDocument . Data . ManyValue [ 1 ] . Attributes . ShouldContainKey ( "priority" ) . With ( value => value . Should ( ) . Be ( todoItems [ 0 ] . Priority ) ) ;
66
66
responseDocument . Data . ManyValue [ 1 ] . Attributes . ShouldContainKey ( "durationInHours" ) . With ( value => value . Should ( ) . Be ( todoItems [ 0 ] . DurationInHours ) ) ;
67
67
responseDocument . Data . ManyValue [ 1 ] . Attributes . ShouldContainKey ( "createdAt" ) . With ( value => value . Should ( ) . Be ( todoItems [ 0 ] . CreatedAt ) ) ;
68
68
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" ) ;
70
70
71
71
responseDocument . Meta . Should ( ) . ContainTotal ( 2 ) ;
72
72
@@ -126,7 +126,7 @@ await _testContext.RunOnDatabaseAsync(async dbContext =>
126
126
responseDocument . Data . SingleValue . Attributes . ShouldContainKey ( "durationInHours" ) . With ( value => value . Should ( ) . Be ( todoItem . DurationInHours ) ) ;
127
127
responseDocument . Data . SingleValue . Attributes . ShouldContainKey ( "createdAt" ) . With ( value => value . Should ( ) . Be ( todoItem . CreatedAt ) ) ;
128
128
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" ) ;
130
130
131
131
responseDocument . Meta . Should ( ) . BeNull ( ) ;
132
132
@@ -216,11 +216,11 @@ await _testContext.RunOnDatabaseAsync(async dbContext =>
216
216
217
217
responseDocument . Data . ManyValue [ 0 ] . Id . Should ( ) . Be ( todoItem . Tags . ElementAt ( 0 ) . StringId ) ;
218
218
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" ) ;
220
220
221
221
responseDocument . Data . ManyValue [ 1 ] . Id . Should ( ) . Be ( todoItem . Tags . ElementAt ( 1 ) . StringId ) ;
222
222
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" ) ;
224
224
225
225
responseDocument . Meta . Should ( ) . ContainTotal ( 2 ) ;
226
226
@@ -284,7 +284,7 @@ await _testContext.RunOnDatabaseAsync(async dbContext =>
284
284
responseDocument . Data . SingleValue . Attributes . ShouldContainKey ( "firstName" ) . With ( value => value . Should ( ) . Be ( todoItem . Owner . FirstName ) ) ;
285
285
responseDocument . Data . SingleValue . Attributes . ShouldContainKey ( "lastName" ) . With ( value => value . Should ( ) . Be ( todoItem . Owner . LastName ) ) ;
286
286
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" ) ;
288
288
289
289
responseDocument . Meta . Should ( ) . BeNull ( ) ;
290
290
0 commit comments