diff --git a/test/poodinis/autowiretest.d b/test/poodinis/autowiretest.d index b8e78b9..7aa896d 100644 --- a/test/poodinis/autowiretest.d +++ b/test/poodinis/autowiretest.d @@ -105,5 +105,7 @@ version(unittest) { auto resolvedComponentF = container.resolve!ComponentF; assert(resolvedComponentF.componentA is autowiredComponentA, "Resolving instance of ComponentF rewired members"); + + container.clearAllRegistrations(); } } \ No newline at end of file