mirror of
https://github.com/mbierlee/poodinis.git
synced 2024-11-15 04:04:01 +01:00
Clear all registrations after test is done
This commit is contained in:
parent
627d165d6f
commit
c4c57da9eb
|
@ -105,5 +105,7 @@ version(unittest) {
|
|||
|
||||
auto resolvedComponentF = container.resolve!ComponentF;
|
||||
assert(resolvedComponentF.componentA is autowiredComponentA, "Resolving instance of ComponentF rewired members");
|
||||
|
||||
container.clearAllRegistrations();
|
||||
}
|
||||
}
|
Loading…
Reference in a new issue