diff --git a/test/EFCore.Cosmos.FunctionalTests/Query/NorthwindMiscellaneousQueryCosmosTest.cs b/test/EFCore.Cosmos.FunctionalTests/Query/NorthwindMiscellaneousQueryCosmosTest.cs index 28602b874fb..f46b3cf8fec 100644 --- a/test/EFCore.Cosmos.FunctionalTests/Query/NorthwindMiscellaneousQueryCosmosTest.cs +++ b/test/EFCore.Cosmos.FunctionalTests/Query/NorthwindMiscellaneousQueryCosmosTest.cs @@ -1901,19 +1901,21 @@ public override async Task Random_next_is_not_funcletized_6(bool async) AssertSql(); } - [ConditionalTheory(Skip = "Issue#27222")] public override async Task Environment_newline_is_funcletized(bool async) { await base.Environment_newline_is_funcletized(async); - AssertSql( + var sql = Fixture.TestSqlLoggerFactory.SqlStatements[0]; + Assert.StartsWith("@__NewLine_0='", sql); + Assert.EndsWith( """ -@__NewLine_0='\r\n' +' SELECT c FROM root c -WHERE ((c[""Discriminator""] = ""Customer"") AND CONTAINS(c[""CustomerID""], @__NewLine_0)) -"""); +WHERE ((c["Discriminator"] = "Customer") AND CONTAINS(c["CustomerID"], @__NewLine_0)) +""", +sql); } public override async Task String_concat_with_navigation1(bool async)