File tree Expand file tree Collapse file tree 1 file changed +1
-2
lines changed
setup/src/Magento/Setup/Test/Unit/Console/Command Expand file tree Collapse file tree 1 file changed +1
-2
lines changed Original file line number Diff line number Diff line change 1111use Magento \Deploy \Console \ConsoleLoggerFactory ;
1212use Magento \Deploy \Console \DeployStaticOptions ;
1313use Magento \Deploy \Console \InputValidator ;
14- use Magento \Deploy \Process \TimeoutException ;
1514use Magento \Deploy \Service \DeployStaticContent ;
1615use Magento \Framework \App \State ;
1716use Magento \Framework \Console \Cli ;
@@ -156,7 +155,7 @@ public function testExecuteWithError()
156155 ->willReturn ($ this ->deployService );
157156 $ this ->deployService ->expects ($ this ->once ())
158157 ->method ('deploy ' )
159- ->willThrowException (new TimeoutException ());
158+ ->willThrowException (new \ RuntimeException ());
160159
161160 $ tester = new CommandTester ($ this ->command );
162161 $ exitCode = $ tester ->execute ([]);
You can’t perform that action at this time.
0 commit comments