diff --git a/tests/unit/steps/UnzipStepRunnerTest.php b/tests/unit/steps/UnzipStepRunnerTest.php index 7dca2e25..e3125608 100644 --- a/tests/unit/steps/UnzipStepRunnerTest.php +++ b/tests/unit/steps/UnzipStepRunnerTest.php @@ -46,7 +46,7 @@ public function before() { $this->document_root = Path::makeAbsolute( 'test', sys_get_temp_dir() ); $this->runtime = new Runtime( $this->document_root ); - $this->resource_manager = self::createStub(ResourceManager::class); + $this->resource_manager = $this->createMock( ResourceManager::class ); $this->step = new UnzipStepRunner(); $this->step->setRuntime( $this->runtime );