@@ -46,7 +46,7 @@ public async Task Accepts_meta_in_update_resource_request_with_to_one_relationsh
4646 Dictionary < string , object ? > documentMeta = _fakers . DocumentMeta . GenerateOne ( ) ;
4747 Dictionary < string , object ? > resourceMeta = _fakers . ResourceMeta . GenerateOne ( ) ;
4848 Dictionary < string , object ? > relationshipMeta = _fakers . RelationshipMeta . GenerateOne ( ) ;
49- var identifierMeta = _fakers . RelationshipIdentifierMeta . GenerateOne ( ) ;
49+ Dictionary < string , object ? > identifierMeta = _fakers . RelationshipIdentifierMeta . GenerateOne ( ) ;
5050
5151 SupportTicket existingTicket = _fakers . SupportTicket . GenerateOne ( ) ;
5252 ProductFamily existingFamily = _fakers . ProductFamily . GenerateOne ( ) ;
@@ -202,7 +202,7 @@ public async Task Accepts_meta_in_post_resource_request_with_to_one_relationship
202202 Dictionary < string , object ? > documentMeta = _fakers . DocumentMeta . GenerateOne ( ) ;
203203 Dictionary < string , object ? > resourceMeta = _fakers . ResourceMeta . GenerateOne ( ) ;
204204 Dictionary < string , object ? > relationshipMeta = _fakers . RelationshipMeta . GenerateOne ( ) ;
205- var identifierMeta = _fakers . RelationshipIdentifierMeta . GenerateOne ( ) ;
205+ Dictionary < string , object ? > identifierMeta = _fakers . RelationshipIdentifierMeta . GenerateOne ( ) ;
206206
207207 string newTicketDescription = _fakers . SupportTicket . GenerateOne ( ) . Description ;
208208 ProductFamily existingFamily = _fakers . ProductFamily . GenerateOne ( ) ;
@@ -256,6 +256,7 @@ await _testContext.RunOnDatabaseAsync(async dbContext =>
256256 store . Document . Data . SingleValue . Meta . Should ( ) . BeEquivalentToJson ( resourceMeta ) ;
257257
258258 store . Document . Data . SingleValue . Relationships . Should ( ) . NotBeNull ( ) ;
259+
259260 store . Document . Data . SingleValue . Relationships . Should ( ) . ContainKey ( "productFamily" ) . WhoseValue . With ( value =>
260261 {
261262 value . Should ( ) . NotBeNull ( ) ;
@@ -434,13 +435,13 @@ await _testContext.RunOnDatabaseAsync(async dbContext =>
434435 {
435436 type = "supportTickets" ,
436437 id = existingTicket1 . StringId ,
437- meta = identifierMeta1 ,
438+ meta = identifierMeta1
438439 } ,
439440 new
440441 {
441442 type = "supportTickets" ,
442443 id = existingTicket2 . StringId ,
443- meta = identifierMeta2 ,
444+ meta = identifierMeta2
444445 } ,
445446 } ,
446447 meta = documentMeta
@@ -495,13 +496,13 @@ await _testContext.RunOnDatabaseAsync(async dbContext =>
495496 {
496497 type = "supportTickets" ,
497498 id = existingTicket1 . StringId ,
498- meta = identifierMeta1 ,
499+ meta = identifierMeta1
499500 } ,
500501 new
501502 {
502503 type = "supportTickets" ,
503504 id = existingTicket2 . StringId ,
504- meta = identifierMeta2 ,
505+ meta = identifierMeta2
505506 } ,
506507 } ,
507508 meta = documentMeta
0 commit comments