File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -919,7 +919,7 @@ public function testRunReturnsIntegerExitCode()
919919 $ application ->setAutoExit (false );
920920 $ application ->expects ($ this ->once ())
921921 ->method ('doRun ' )
922- ->will ( $ this -> throwException ( $ exception) );
922+ ->willThrowException ( $ exception );
923923
924924 $ exitCode = $ application ->run (new ArrayInput (array ()), new NullOutput ());
925925
@@ -958,7 +958,7 @@ public function testRunReturnsExitCodeOneForExceptionCodeZero()
958958 $ application ->setAutoExit (false );
959959 $ application ->expects ($ this ->once ())
960960 ->method ('doRun ' )
961- ->will ( $ this -> throwException ( $ exception) );
961+ ->willThrowException ( $ exception );
962962
963963 $ exitCode = $ application ->run (new ArrayInput (array ()), new NullOutput ());
964964
You can’t perform that action at this time.
0 commit comments