mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2025-09-19 18:27:55 +08:00
Temporary workaround for running SpecFlow tests with nunit
--HG-- branch : dev
This commit is contained in:
@@ -11,7 +11,11 @@ namespace Orchard.Specs.Hosting {
|
|||||||
}
|
}
|
||||||
|
|
||||||
public void Shutdown() {
|
public void Shutdown() {
|
||||||
HostingEnvironment.InitiateShutdown();
|
//TODO: this line is required to properly shutdown the ASP.NET
|
||||||
|
// host and release memory when running multiple SpecFlow tests.
|
||||||
|
// However, nuint complains about an unhandled AppdomainUnloadedException
|
||||||
|
// When we figure out a way around this, we will re-enable this line.
|
||||||
|
//HostingEnvironment.InitiateShutdown();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user