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 11
11
use Magento \Deploy \Console \ConsoleLoggerFactory ;
12
12
use Magento \Deploy \Console \DeployStaticOptions ;
13
13
use Magento \Deploy \Console \InputValidator ;
14
- use Magento \Deploy \Process \TimeoutException ;
15
14
use Magento \Deploy \Service \DeployStaticContent ;
16
15
use Magento \Framework \App \State ;
17
16
use Magento \Framework \Console \Cli ;
@@ -156,7 +155,7 @@ public function testExecuteWithError()
156
155
->willReturn ($ this ->deployService );
157
156
$ this ->deployService ->expects ($ this ->once ())
158
157
->method ('deploy ' )
159
- ->willThrowException (new TimeoutException ());
158
+ ->willThrowException (new \ RuntimeException ());
160
159
161
160
$ tester = new CommandTester ($ this ->command );
162
161
$ exitCode = $ tester ->execute ([]);
You can’t perform that action at this time.
0 commit comments