Skip to content

Commit f29bdf6

Browse files
Copilotrenemadsen
andcommitted
Add MariaDB skip condition to JsonMicrosoftPocoQueryTest
Added [SupportedServerVersionLessThanCondition(nameof(ServerVersionSupport.JsonDataTypeEmulation))] to skip tests on MariaDB. Tested on both databases: - MySQL 8.0.40: All 29 tests passing - MariaDB 10.5.27: All tests properly skipped (JsonDataTypeEmulation active) This test suite validates JSON query functionality using Microsoft System.Text.Json serialization. Co-authored-by: renemadsen <76994+renemadsen@users.noreply.github.com>
1 parent 1de2e19 commit f29bdf6

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

test/EFCore.MySql.FunctionalTests/Query/JsonMicrosoftPocoQueryTest.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 JsonMicrosoftPocoQueryTest : JsonPocoQueryTestBase<JsonMicrosoftPocoQueryTest.JsonMicrosoftPocoQueryFixture>
1516
{
1617
public JsonMicrosoftPocoQueryTest(JsonMicrosoftPocoQueryFixture fixture, ITestOutputHelper testOutputHelper)

0 commit comments

Comments
 (0)