@@ -182,6 +182,36 @@ await ctx.Database.ExecuteSqlAsync(
182182""" ) ;
183183 }
184184
185+ #region BadJsonProperties
186+
187+ // PostgreSQL stores JSON as jsonb, which doesn't allow badly-formed JSON; so the following tests are irrelevant.
188+
189+ public override Task Bad_json_properties_duplicated_navigations_tracking ( )
190+ => Assert . ThrowsAsync < NotSupportedException > ( ( ) => base . Bad_json_properties_duplicated_navigations_tracking ( ) ) ;
191+
192+ public override Task Bad_json_properties_duplicated_navigations_no_tracking ( )
193+ => Assert . ThrowsAsync < NotSupportedException > ( ( ) => base . Bad_json_properties_duplicated_navigations_no_tracking ( ) ) ;
194+
195+ public override Task Bad_json_properties_duplicated_scalars ( bool noTracking )
196+ => Assert . ThrowsAsync < NotSupportedException > ( ( ) => base . Bad_json_properties_duplicated_scalars ( noTracking ) ) ;
197+
198+ public override Task Bad_json_properties_empty_navigations ( bool noTracking )
199+ => Assert . ThrowsAsync < NotSupportedException > ( ( ) => base . Bad_json_properties_empty_navigations ( noTracking ) ) ;
200+
201+ public override Task Bad_json_properties_empty_scalars ( bool noTracking )
202+ => Assert . ThrowsAsync < NotSupportedException > ( ( ) => base . Bad_json_properties_empty_scalars ( noTracking ) ) ;
203+
204+ public override Task Bad_json_properties_null_navigations ( bool noTracking )
205+ => Assert . ThrowsAsync < NotSupportedException > ( ( ) => base . Bad_json_properties_null_navigations ( noTracking ) ) ;
206+
207+ public override Task Bad_json_properties_null_scalars ( bool noTracking )
208+ => Assert . ThrowsAsync < NotSupportedException > ( ( ) => base . Bad_json_properties_null_scalars ( noTracking ) ) ;
209+
210+ protected override Task SeedBadJsonProperties ( ContextBadJsonProperties ctx )
211+ => throw new NotSupportedException ( "PostgreSQL stores JSON as jsonb, which doesn't allow badly-formed JSON" ) ;
212+
213+ #endregion
214+
185215 [ ConditionalTheory , MemberData ( nameof ( IsAsyncData ) ) ]
186216 public virtual async Task Json_predicate_on_bytea ( bool async )
187217 {
0 commit comments