diff --git a/src/FirebirdSql.EntityFrameworkCore.Firebird.FunctionalTests/Query/NorthwindKeylessEntitiesQueryFbTest.cs b/src/FirebirdSql.EntityFrameworkCore.Firebird.FunctionalTests/Query/NorthwindKeylessEntitiesQueryFbTest.cs index cae3409d5..c2e290cda 100644 --- a/src/FirebirdSql.EntityFrameworkCore.Firebird.FunctionalTests/Query/NorthwindKeylessEntitiesQueryFbTest.cs +++ b/src/FirebirdSql.EntityFrameworkCore.Firebird.FunctionalTests/Query/NorthwindKeylessEntitiesQueryFbTest.cs @@ -48,12 +48,9 @@ public override Task Entity_mapped_to_view_on_right_side_of_join(bool async) [Theory] [MemberData(nameof(IsAsyncData))] - public override async Task KeylessEntity_with_nav_defining_query(bool async) + public override Task KeylessEntity_with_nav_defining_query(bool async) { - Assert.Equal( - "0", - (await Assert.ThrowsAsync( - () => base.KeylessEntity_with_nav_defining_query(async))).Actual); + return Assert.ThrowsAsync(() => base.KeylessEntity_with_nav_defining_query(async)); } [Theory] diff --git a/src/FirebirdSql.EntityFrameworkCore.Firebird.FunctionalTests/Query/TPCGearsOfWarQueryFbTest.cs b/src/FirebirdSql.EntityFrameworkCore.Firebird.FunctionalTests/Query/TPCGearsOfWarQueryFbTest.cs index ef788f503..7cc6e2054 100644 --- a/src/FirebirdSql.EntityFrameworkCore.Firebird.FunctionalTests/Query/TPCGearsOfWarQueryFbTest.cs +++ b/src/FirebirdSql.EntityFrameworkCore.Firebird.FunctionalTests/Query/TPCGearsOfWarQueryFbTest.cs @@ -36,7 +36,7 @@ public override Task ToString_boolean_property_non_nullable(bool async) { return AssertQuery( async, - ss => ss.Set().Select(w => w.IsAutomatic.ToString()), elementAsserter: (lhs, rhs) => { Assert.True(lhs.Equals(rhs, System.StringComparison.OrdinalIgnoreCase)); }); + ss => ss.Set().Select(w => w.IsAutomatic.ToString())); } [Theory] @@ -45,7 +45,7 @@ public override Task ToString_boolean_property_nullable(bool async) { return AssertQuery( async, - ss => ss.Set().Select(lh => lh.Eradicated.ToString()), elementAsserter: (lhs, rhs) => { Assert.True(lhs.Equals(rhs, System.StringComparison.OrdinalIgnoreCase)); }); + ss => ss.Set().Select(lh => lh.Eradicated.ToString())); } [Theory(Skip = "Different implicit ordering on Firebird.")] diff --git a/src/FirebirdSql.EntityFrameworkCore.Firebird.FunctionalTests/Query/TPTGearsOfWarQueryFbTest.cs b/src/FirebirdSql.EntityFrameworkCore.Firebird.FunctionalTests/Query/TPTGearsOfWarQueryFbTest.cs index 62886174e..f908fc122 100644 --- a/src/FirebirdSql.EntityFrameworkCore.Firebird.FunctionalTests/Query/TPTGearsOfWarQueryFbTest.cs +++ b/src/FirebirdSql.EntityFrameworkCore.Firebird.FunctionalTests/Query/TPTGearsOfWarQueryFbTest.cs @@ -36,7 +36,7 @@ public override Task ToString_boolean_property_non_nullable(bool async) { return AssertQuery( async, - ss => ss.Set().Select(w => w.IsAutomatic.ToString()), elementAsserter: (lhs, rhs) => { Assert.True(lhs.Equals(rhs, System.StringComparison.OrdinalIgnoreCase)); }); + ss => ss.Set().Select(w => w.IsAutomatic.ToString())); } [Theory] @@ -45,7 +45,7 @@ public override Task ToString_boolean_property_nullable(bool async) { return AssertQuery( async, - ss => ss.Set().Select(lh => lh.Eradicated.ToString()), elementAsserter: (lhs, rhs) => { Assert.True(lhs.Equals(rhs, System.StringComparison.OrdinalIgnoreCase)); }); + ss => ss.Set().Select(lh => lh.Eradicated.ToString())); } [Theory(Skip = "Different implicit ordering on Firebird.")]