From 11230ef0344adfe82662d315ec4ffa6db1a66c51 Mon Sep 17 00:00:00 2001 From: Arthur Vickers Date: Tue, 19 Jul 2022 15:29:03 +0100 Subject: [PATCH] Fix Cosmos test. --- .../Query/InheritanceQueryCosmosTest.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/EFCore.Cosmos.FunctionalTests/Query/InheritanceQueryCosmosTest.cs b/test/EFCore.Cosmos.FunctionalTests/Query/InheritanceQueryCosmosTest.cs index 3161e07ca44..41fd82dd632 100644 --- a/test/EFCore.Cosmos.FunctionalTests/Query/InheritanceQueryCosmosTest.cs +++ b/test/EFCore.Cosmos.FunctionalTests/Query/InheritanceQueryCosmosTest.cs @@ -313,7 +313,7 @@ public override async Task Discriminator_with_cast_in_shadow_property(bool async await base.Discriminator_with_cast_in_shadow_property(async); AssertSql( - @"SELECT VALUE {""Predator"" : c[""EagleId""]} + @"SELECT VALUE {""Predator"" : c[""Name""]} FROM root c WHERE (c[""Discriminator""] IN (""Eagle"", ""Kiwi"") AND (""Kiwi"" = c[""Discriminator""]))"); }