Skip to content

Commit e14e709

Browse files
committed
test: add param to $this->resetService()
1 parent 196d759 commit e14e709

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

system/Test/CIUnitTestCase.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -299,9 +299,9 @@ protected function resetFactories()
299299
/**
300300
* Resets shared instanced for all Services
301301
*/
302-
protected function resetServices()
302+
protected function resetServices(bool $initAutoloader = false)
303303
{
304-
Services::reset();
304+
Services::reset($initAutoloader);
305305
}
306306

307307
/**

0 commit comments

Comments
 (0)