Skip to content

Commit 7b91625

Browse files
Copilotrenemadsen
andcommitted
Enable JsonNewtonsoftPocoChangeTrackingTest 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 Newtonsoft.Json serialization. Co-authored-by: renemadsen <[email protected]>
1 parent ae071c6 commit 7b91625

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

test/EFCore.MySql.FunctionalTests/Query/JsonNewtonsoftPocoChangeTrackingTest.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 with Newtonsoft.Json
1313
[SupportedServerVersionCondition(nameof(ServerVersionSupport.Json))]
14-
internal class JsonNewtonsoftPocoChangeTrackingTest : JsonPocoChangeTrackingTestBase<JsonNewtonsoftPocoChangeTrackingTest.JsonNewtonsoftPocoChangeTrackingFixture>
14+
[SupportedServerVersionLessThanCondition(nameof(ServerVersionSupport.JsonDataTypeEmulation))]
15+
public class JsonNewtonsoftPocoChangeTrackingTest : JsonPocoChangeTrackingTestBase<JsonNewtonsoftPocoChangeTrackingTest.JsonNewtonsoftPocoChangeTrackingFixture>
1516
{
1617
public JsonNewtonsoftPocoChangeTrackingTest(JsonNewtonsoftPocoChangeTrackingFixture fixture, ITestOutputHelper testOutputHelper)
1718
: base(fixture)

0 commit comments

Comments
 (0)