From 76d3da58f4c5f21f6119aab756f0a4972cc873fa Mon Sep 17 00:00:00 2001 From: Andrew Peters Date: Thu, 1 Feb 2018 14:56:12 -0800 Subject: [PATCH] Fixing Oracle tests. --- .../test/OracleProvider.FunctionalTests/OracleFixture.cs | 1 + .../OracleProvider.FunctionalTests/TransactionOracleTest.cs | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/samples/OracleProvider/test/OracleProvider.FunctionalTests/OracleFixture.cs b/samples/OracleProvider/test/OracleProvider.FunctionalTests/OracleFixture.cs index 6281c5f1002..d4785564deb 100644 --- a/samples/OracleProvider/test/OracleProvider.FunctionalTests/OracleFixture.cs +++ b/samples/OracleProvider/test/OracleProvider.FunctionalTests/OracleFixture.cs @@ -19,6 +19,7 @@ public override DbContextOptionsBuilder AddOptions(DbContextOptionsBuilder build { w.Log(RelationalEventId.QueryClientEvaluationWarning); w.Log(OracleEventId.ByteIdentityColumnWarning); + w.Log(CoreEventId.FirstWithoutOrderByAndFilterWarning); }); } } diff --git a/samples/OracleProvider/test/OracleProvider.FunctionalTests/TransactionOracleTest.cs b/samples/OracleProvider/test/OracleProvider.FunctionalTests/TransactionOracleTest.cs index fa74840a7ae..dc90043612b 100644 --- a/samples/OracleProvider/test/OracleProvider.FunctionalTests/TransactionOracleTest.cs +++ b/samples/OracleProvider/test/OracleProvider.FunctionalTests/TransactionOracleTest.cs @@ -53,7 +53,8 @@ public override DbContextOptionsBuilder AddOptions(DbContextOptionsBuilder build { new OracleDbContextOptionsBuilder( base.AddOptions(builder) - .ConfigureWarnings(w => w.Log(RelationalEventId.QueryClientEvaluationWarning))) + .ConfigureWarnings(w => w.Log(RelationalEventId.QueryClientEvaluationWarning) + .Log(CoreEventId.FirstWithoutOrderByAndFilterWarning))) .MaxBatchSize(1); return builder; }