mirror of
https://github.com/mbierlee/poodinis.git
synced 2025-01-18 21:40:38 +01:00
Clear all registrations after test is done
This commit is contained in:
parent
627d165d6f
commit
c4c57da9eb
1 changed files with 2 additions and 0 deletions
|
@ -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