diff --git a/src/NHibernate.Test/Async/NHSpecificTest/GH3474/Fixture.cs b/src/NHibernate.Test/Async/NHSpecificTest/GH3474/Fixture.cs index 6aacc68bcbc..63c89db566d 100644 --- a/src/NHibernate.Test/Async/NHSpecificTest/GH3474/Fixture.cs +++ b/src/NHibernate.Test/Async/NHSpecificTest/GH3474/Fixture.cs @@ -50,6 +50,12 @@ protected override void OnTearDown() transaction.Commit(); } + protected override bool AppliesTo(Dialect.Dialect dialect) + { + // Polymorphic updates require support of temp tables. + return Dialect.SupportsTemporaryTables; + } + [Test] public async Task PolymorphicUpdateShouldNotCommitAsync() { diff --git a/src/NHibernate.Test/NHSpecificTest/GH3474/Fixture.cs b/src/NHibernate.Test/NHSpecificTest/GH3474/Fixture.cs index fd76cad70f8..65c7b8a6e19 100644 --- a/src/NHibernate.Test/NHSpecificTest/GH3474/Fixture.cs +++ b/src/NHibernate.Test/NHSpecificTest/GH3474/Fixture.cs @@ -38,6 +38,12 @@ protected override void OnTearDown() transaction.Commit(); } + protected override bool AppliesTo(Dialect.Dialect dialect) + { + // Polymorphic updates require support of temp tables. + return Dialect.SupportsTemporaryTables; + } + [Test] public void PolymorphicUpdateShouldNotCommit() {