Skip to content

Commit 411b099

Browse files
committed
Error when running tests fixed:
'SetUpWeb.Dispose()', 'SetUpEntityTests.Dispose()', 'SetUpCodeFirstTests.Dispose()', 'SetUpMigrationsTests.Dispose()': cannot override inherited member 'SetUpClass.Dispose()' because it is not marked virtual, abstract, or override.
1 parent 1df81b9 commit 411b099

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Tests/MySql.Data.Tests/SetUp.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -470,7 +470,7 @@ protected virtual void Dispose(bool disposing)
470470
disposed = true;
471471
}
472472

473-
public void Dispose()
473+
public virtual void Dispose()
474474
{
475475
Dispose(true);
476476
}

0 commit comments

Comments
 (0)