From 74055e14a87a555fbe795406a145c5c49974659b Mon Sep 17 00:00:00 2001 From: Brice Lambson Date: Wed, 11 Jan 2023 11:32:25 -0800 Subject: [PATCH] Update to SQLitePCLRaw 1.1.15 Part of #29429 --- build/dependencies.props | 6 +++--- .../Query/SimpleQuerySqliteTest.cs | 7 +++++++ .../Scaffolding/SqliteDatabaseModelFactoryTest.cs | 8 ++++---- 3 files changed, 14 insertions(+), 7 deletions(-) diff --git a/build/dependencies.props b/build/dependencies.props index 6d342d07919..51acbfc8ef1 100644 --- a/build/dependencies.props +++ b/build/dependencies.props @@ -35,9 +35,9 @@ 11.0.2 12.2.1100 2.2.0 - 1.1.12 - 1.1.12 - 1.1.12 + 1.1.15 + 1.1.14 + 1.1.14 1.0.0 1.5.0 4.5.0 diff --git a/test/EFCore.Sqlite.FunctionalTests/Query/SimpleQuerySqliteTest.cs b/test/EFCore.Sqlite.FunctionalTests/Query/SimpleQuerySqliteTest.cs index c096965806e..b28ba16baef 100644 --- a/test/EFCore.Sqlite.FunctionalTests/Query/SimpleQuerySqliteTest.cs +++ b/test/EFCore.Sqlite.FunctionalTests/Query/SimpleQuerySqliteTest.cs @@ -2,6 +2,7 @@ // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using Microsoft.EntityFrameworkCore.TestUtilities; +using Microsoft.EntityFrameworkCore.TestUtilities.Xunit; using Xunit.Abstractions; namespace Microsoft.EntityFrameworkCore.Query @@ -684,6 +685,12 @@ public override void Select_datetime_millisecond_component() } #endif + [ConditionalFact(Skip = "Issue#21541")] + public override void Project_single_element_from_collection_with_multiple_OrderBys_Take_and_FirstOrDefault_2() + { + base.Project_single_element_from_collection_with_multiple_OrderBys_Take_and_FirstOrDefault_2(); + } + private void AssertSql(params string[] expected) => Fixture.TestSqlLoggerFactory.AssertBaseline(expected); } diff --git a/test/EFCore.Sqlite.FunctionalTests/Scaffolding/SqliteDatabaseModelFactoryTest.cs b/test/EFCore.Sqlite.FunctionalTests/Scaffolding/SqliteDatabaseModelFactoryTest.cs index f82ea296e8b..3a59eb59663 100644 --- a/test/EFCore.Sqlite.FunctionalTests/Scaffolding/SqliteDatabaseModelFactoryTest.cs +++ b/test/EFCore.Sqlite.FunctionalTests/Scaffolding/SqliteDatabaseModelFactoryTest.cs @@ -304,10 +304,10 @@ RandomProperty randomType { var columns = dbModel.Tables.Single().Columns; - Assert.Equal("integer", columns.Single(c => c.Name == "IntegerProperty").StoreType); - Assert.Equal("real", columns.Single(c => c.Name == "RealProperty").StoreType); - Assert.Equal("text", columns.Single(c => c.Name == "TextProperty").StoreType); - Assert.Equal("blob", columns.Single(c => c.Name == "BlobProperty").StoreType); + Assert.Equal("integer", columns.Single(c => c.Name == "IntegerProperty").StoreType, ignoreCase: true); + Assert.Equal("real", columns.Single(c => c.Name == "RealProperty").StoreType, ignoreCase: true); + Assert.Equal("text", columns.Single(c => c.Name == "TextProperty").StoreType, ignoreCase: true); + Assert.Equal("blob", columns.Single(c => c.Name == "BlobProperty").StoreType, ignoreCase: true); Assert.Equal("randomType", columns.Single(c => c.Name == "RandomProperty").StoreType); }, @"DROP TABLE StoreType;");