Skip to content

Commit ae071c6

Browse files
Copilotrenemadsen
andcommitted
Enable JsonMicrosoftPocoChangeTrackingTest with MariaDB skip
Changed from internal to public and added [SupportedServerVersionLessThanCondition(nameof(ServerVersionSupport.JsonDataTypeEmulation))] to skip tests on MariaDB. Tested on both databases: - MySQL 8.0.40: All 14 tests passing - MariaDB 10.5.27: All tests properly skipped (JsonDataTypeEmulation active) This test suite validates JSON change tracking functionality using Microsoft System.Text.Json serialization. Co-authored-by: renemadsen <[email protected]>
1 parent dc7e072 commit ae071c6

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

test/EFCore.MySql.FunctionalTests/Query/JsonMicrosoftPocoChangeTrackingTest.cs

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,10 @@
99

1010
namespace Pomelo.EntityFrameworkCore.MySql.FunctionalTests.Query
1111
{
12-
// Disabled via internal access. JSON functionality is not currently supported.
12+
// Re-enabled to test JSON change tracking functionality
1313
[SupportedServerVersionCondition(nameof(ServerVersionSupport.Json))]
14-
internal class JsonMicrosoftPocoChangeTrackingTest : JsonPocoChangeTrackingTestBase<JsonMicrosoftPocoChangeTrackingTest.JsonMicrosoftPocoChangeTrackingFixture>
14+
[SupportedServerVersionLessThanCondition(nameof(ServerVersionSupport.JsonDataTypeEmulation))]
15+
public class JsonMicrosoftPocoChangeTrackingTest : JsonPocoChangeTrackingTestBase<JsonMicrosoftPocoChangeTrackingTest.JsonMicrosoftPocoChangeTrackingFixture>
1516
{
1617
public JsonMicrosoftPocoChangeTrackingTest(JsonMicrosoftPocoChangeTrackingFixture fixture, ITestOutputHelper testOutputHelper)
1718
: base(fixture)

0 commit comments

Comments
 (0)