mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2026-02-09 09:16:41 +08:00
Addec leanup code to the ContainerTestBase.
This commit is contained in:
@@ -14,6 +14,12 @@ namespace Orchard.Tests {
|
|||||||
Resolve(_container);
|
Resolve(_container);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
[TearDown]
|
||||||
|
public void Cleanup() {
|
||||||
|
if (_container != null)
|
||||||
|
_container.Dispose();
|
||||||
|
}
|
||||||
|
|
||||||
#if false
|
#if false
|
||||||
// technically more accurate, and doesn't work
|
// technically more accurate, and doesn't work
|
||||||
[SetUp]
|
[SetUp]
|
||||||
|
|||||||
Reference in New Issue
Block a user