Skip to content

Commit dc7e072

Browse files
Copilotrenemadsen
andcommitted
Add MariaDB skip condition to JsonNewtonsoftPocoQueryTest
Added [SupportedServerVersionLessThanCondition(nameof(ServerVersionSupport.JsonDataTypeEmulation))] to skip tests on MariaDB. Tested on both databases: - MySQL 8.0.40: Single test passing (JsonContains_with_json_element) - MariaDB 10.5.27: Test properly skipped (JsonDataTypeEmulation active) This test suite validates JSON query functionality using Newtonsoft.Json serialization. Co-authored-by: renemadsen <[email protected]>
1 parent f29bdf6 commit dc7e072

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
namespace Pomelo.EntityFrameworkCore.MySql.FunctionalTests.Query
1212
{
1313
[SupportedServerVersionCondition(nameof(ServerVersionSupport.Json))]
14+
[SupportedServerVersionLessThanCondition(nameof(ServerVersionSupport.JsonDataTypeEmulation))]
1415
public class JsonNewtonsoftPocoQueryTest : JsonPocoQueryTestBase<JsonNewtonsoftPocoQueryTest.JsonNewtonsoftPocoQueryFixture>
1516
{
1617
public JsonNewtonsoftPocoQueryTest(JsonNewtonsoftPocoQueryFixture fixture, ITestOutputHelper testOutputHelper)

0 commit comments

Comments
 (0)