Skip to content
This repository was archived by the owner on Dec 24, 2022. It is now read-only.

Commit b031ccf

Browse files
committed
stop test leaking ExecFilter state
1 parent 43b943a commit b031ccf

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

tests/ServiceStack.OrmLite.Tests/OrmLiteMultipleDialectProviderTests.cs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,9 @@ public void Can_open_multiple_dialectprovider_with_execfilter() {
6262
results.PrintDump();
6363
var ids = results.ConvertAll(x => x.Id);
6464
Assert.AreEqual(new[] { 1, 2, 3, 4, 5, 6 }, ids);
65+
66+
SqlServerDialect.Provider.ExecFilter = null;
67+
SqliteDialect.Provider.ExecFilter = null;
6568
}
6669

6770
public class MockExecFilter1 : OrmLiteExecFilter

0 commit comments

Comments
 (0)