diff --git a/test/EFCore.Sqlite.FunctionalTests/Query/NorthwindFunctionsQuerySqliteTest.cs b/test/EFCore.Sqlite.FunctionalTests/Query/NorthwindFunctionsQuerySqliteTest.cs index 33e82557551..900b986995f 100644 --- a/test/EFCore.Sqlite.FunctionalTests/Query/NorthwindFunctionsQuerySqliteTest.cs +++ b/test/EFCore.Sqlite.FunctionalTests/Query/NorthwindFunctionsQuerySqliteTest.cs @@ -28,7 +28,7 @@ public override async Task Client_evaluation_of_uncorrelated_method_call(bool as """ SELECT "o"."OrderID", "o"."ProductID", "o"."Discount", "o"."Quantity", "o"."UnitPrice" FROM "Order Details" AS "o" -WHERE "o"."UnitPrice" < 7.0 AND 10 < "o"."ProductID" +WHERE ef_compare("o"."UnitPrice", '7.0') < 0 AND 10 < "o"."ProductID" """); } diff --git a/test/EFCore.Sqlite.FunctionalTests/Query/NorthwindQuerySqliteFixture.cs b/test/EFCore.Sqlite.FunctionalTests/Query/NorthwindQuerySqliteFixture.cs index 5bc28e08eca..88feedba963 100644 --- a/test/EFCore.Sqlite.FunctionalTests/Query/NorthwindQuerySqliteFixture.cs +++ b/test/EFCore.Sqlite.FunctionalTests/Query/NorthwindQuerySqliteFixture.cs @@ -13,15 +13,6 @@ public class NorthwindQuerySqliteFixture : NorthwindQueryRelat protected override ITestStoreFactory TestStoreFactory => SqliteNorthwindTestStoreFactory.Instance; - protected override void OnModelCreating(ModelBuilder modelBuilder, DbContext context) - { - base.OnModelCreating(modelBuilder, context); - - // NB: SQLite doesn't support decimal very well. Using double instead - modelBuilder.Entity().Property(o => o.UnitPrice).HasConversion(); - modelBuilder.Entity().Property(o => o.UnitPrice).HasConversion(); - } - protected override Type ContextType => typeof(NorthwindSqliteContext); }