Skip to content

Commit

Permalink
Fix failing test for sql ce
Browse files Browse the repository at this point in the history
  • Loading branch information
fredericDelaporte committed Feb 9, 2024
1 parent c9de443 commit 62464b4
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/NHibernate.Test/Async/NHSpecificTest/GH3474/Fixture.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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()
{
Expand Down
6 changes: 6 additions & 0 deletions src/NHibernate.Test/NHSpecificTest/GH3474/Fixture.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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()
{
Expand Down

0 comments on commit 62464b4

Please sign in to comment.