@@ -64,7 +64,11 @@ await _testContext.RunOnDatabaseAsync(async db =>
6464 {
6565 productFamily = new
6666 {
67- data = new { type = "productFamilies" , id = family . StringId } ,
67+ data = new
68+ {
69+ type = "productFamilies" ,
70+ id = family . StringId
71+ } ,
6872 meta = GetExampleMetaData ( )
6973 }
7074 } ,
@@ -110,8 +114,17 @@ await _testContext.RunOnDatabaseAsync(async db =>
110114 {
111115 data = new [ ]
112116 {
113- new { type = "supportTickets" , id = t1 . StringId , meta = GetExampleMetaData ( ) } ,
114- new { type = "supportTickets" , id = t2 . StringId , meta = GetExampleMetaData ( ) }
117+ new
118+ {
119+ type = "supportTickets" ,
120+ id = t1 . StringId ,
121+ meta = GetExampleMetaData ( )
122+ } ,
123+ new {
124+ type = "supportTickets" ,
125+ id = t2 . StringId ,
126+ meta = GetExampleMetaData ( )
127+ }
115128 } ,
116129 meta = GetExampleMetaData ( )
117130 }
@@ -152,7 +165,7 @@ await _testContext.RunOnDatabaseAsync(async dbContext =>
152165 type = "supportTickets" ,
153166 attributes = new
154167 {
155- description = existingTicket . Description ,
168+ description = existingTicket . Description
156169 } ,
157170 relationships = new
158171 {
@@ -358,7 +371,7 @@ await _testContext.RunOnDatabaseAsync(async dbContext =>
358371 type = "supportTickets" ,
359372 attributes = new
360373 {
361- description = existingTicket . Description ,
374+ description = existingTicket . Description
362375 } ,
363376 relationships = new
364377 {
@@ -501,24 +514,24 @@ await _testContext.RunOnDatabaseAsync(async db =>
501514 {
502515 atomic__operations = new [ ]
503516 {
504- new
505- {
506- op = "update" ,
507- @ref = new
508- {
509- type = "supportTickets" ,
510- id = ticket . StringId ,
511- relationship = "productFamily"
512- } ,
513- data = new
517+ new
514518 {
515- type = "productFamilies" ,
516- id = family . StringId ,
519+ op = "update" ,
520+ @ref = new
521+ {
522+ type = "supportTickets" ,
523+ id = ticket . StringId ,
524+ relationship = "productFamily"
525+ } ,
526+ data = new
527+ {
528+ type = "productFamilies" ,
529+ id = family . StringId ,
530+ meta = GetExampleMetaData ( )
531+ } ,
517532 meta = GetExampleMetaData ( )
518- } ,
519- meta = GetExampleMetaData ( )
520- }
521- } ,
533+ }
534+ } ,
522535 meta = GetExampleMetaData ( )
523536 } ;
524537
@@ -571,8 +584,18 @@ await _testContext.RunOnDatabaseAsync(async db =>
571584 } ,
572585 data = new [ ]
573586 {
574- new { type = "supportTickets" , id = ticket1 . StringId , meta = GetExampleMetaData ( ) } ,
575- new { type = "supportTickets" , id = ticket2 . StringId , meta = GetExampleMetaData ( ) }
587+ new
588+ {
589+ type = "supportTickets" ,
590+ id = ticket1 . StringId ,
591+ meta = GetExampleMetaData ( )
592+ } ,
593+ new
594+ {
595+ type = "supportTickets" ,
596+ id = ticket2 . StringId ,
597+ meta = GetExampleMetaData ( )
598+ }
576599 } ,
577600 meta = GetExampleMetaData ( )
578601 }
@@ -630,8 +653,18 @@ await _testContext.RunOnDatabaseAsync(async db =>
630653 } ,
631654 data = new [ ]
632655 {
633- new { type = "supportTickets" , id = ticket1 . StringId , meta = GetExampleMetaData ( ) } ,
634- new { type = "supportTickets" , id = ticket2 . StringId , meta = GetExampleMetaData ( ) }
656+ new
657+ {
658+ type = "supportTickets" ,
659+ id = ticket1 . StringId ,
660+ meta = GetExampleMetaData ( )
661+ } ,
662+ new
663+ {
664+ type = "supportTickets" ,
665+ id = ticket2 . StringId ,
666+ meta = GetExampleMetaData ( )
667+ }
635668 } ,
636669 meta = GetExampleMetaData ( )
637670 }
@@ -690,7 +723,12 @@ await _testContext.RunOnDatabaseAsync(async db =>
690723 } ,
691724 data = new [ ]
692725 {
693- new { type = "supportTickets" , id = ticket1 . StringId , meta = GetExampleMetaData ( ) }
726+ new
727+ {
728+ type = "supportTickets" ,
729+ id = ticket1 . StringId ,
730+ meta = GetExampleMetaData ( )
731+ }
694732 } ,
695733 meta = GetExampleMetaData ( )
696734 }
0 commit comments