Skip to content

Commit 135d82d

Browse files
committed
Skip unsupported tests
1 parent 302a25a commit 135d82d

File tree

2 files changed

+36
-0
lines changed

2 files changed

+36
-0
lines changed

test/EFCore.InMemory.FunctionalTests/ComplexTypesTrackingInMemoryTest.cs

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,26 @@ public override Task Can_save_default_values_in_optional_complex_property_with_m
2727
// See https://github.com/dotnet/efcore/issues/31464
2828
=> Task.CompletedTask;
2929

30+
// Complex type collections are not supported in InMemory provider
31+
// See https://github.com/dotnet/efcore/issues/31464
32+
public override Task Can_change_state_from_Deleted_with_complex_collection(EntityState newState, bool async)
33+
=> Task.CompletedTask;
34+
35+
// Complex type collections are not supported in InMemory provider
36+
// See https://github.com/dotnet/efcore/issues/31464
37+
public override Task Can_change_state_from_Deleted_with_complex_field_collection(EntityState newState, bool async)
38+
=> Task.CompletedTask;
39+
40+
// Complex type collections are not supported in InMemory provider
41+
// See https://github.com/dotnet/efcore/issues/31464
42+
public override Task Can_change_state_from_Deleted_with_complex_field_record_collection(EntityState newState, bool async)
43+
=> Task.CompletedTask;
44+
45+
// Complex type collections are not supported in InMemory provider
46+
// See https://github.com/dotnet/efcore/issues/31464
47+
public override Task Can_change_state_from_Deleted_with_complex_record_collection(EntityState newState, bool async)
48+
=> Task.CompletedTask;
49+
3050
public class InMemoryFixture : FixtureBase
3151
{
3252
protected override ITestStoreFactory TestStoreFactory

test/EFCore.SqlServer.FunctionalTests/ComplexTypesTrackingSqlServerTest.cs

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -342,6 +342,22 @@ public override void Can_write_original_values_for_properties_of_complex_propert
342342
public override Task Can_save_default_values_in_optional_complex_property_with_multiple_properties(bool async)
343343
=> Task.CompletedTask;
344344

345+
// Fields can't be proxied
346+
public override Task Can_change_state_from_Deleted_with_complex_field_collection(EntityState newState, bool async)
347+
=> Task.CompletedTask;
348+
349+
// Fields can't be proxied
350+
public override Task Can_change_state_from_Deleted_with_complex_field_record_collection(EntityState newState, bool async)
351+
=> Task.CompletedTask;
352+
353+
// Issue #36175: Complex types with notification change tracking are not supported
354+
public override Task Can_change_state_from_Deleted_with_complex_collection(EntityState newState, bool async)
355+
=> Task.CompletedTask;
356+
357+
// Issue #36175: Complex types with notification change tracking are not supported
358+
public override Task Can_change_state_from_Deleted_with_complex_record_collection(EntityState newState, bool async)
359+
=> Task.CompletedTask;
360+
345361
public class SqlServerFixture : SqlServerFixtureBase
346362
{
347363
protected override string StoreName

0 commit comments

Comments
 (0)