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()
919
919
$ application ->setAutoExit (false );
920
920
$ application ->expects ($ this ->once ())
921
921
->method ('doRun ' )
922
- ->will ( $ this -> throwException ( $ exception) );
922
+ ->willThrowException ( $ exception );
923
923
924
924
$ exitCode = $ application ->run (new ArrayInput (array ()), new NullOutput ());
925
925
@@ -958,7 +958,7 @@ public function testRunReturnsExitCodeOneForExceptionCodeZero()
958
958
$ application ->setAutoExit (false );
959
959
$ application ->expects ($ this ->once ())
960
960
->method ('doRun ' )
961
- ->will ( $ this -> throwException ( $ exception) );
961
+ ->willThrowException ( $ exception );
962
962
963
963
$ exitCode = $ application ->run (new ArrayInput (array ()), new NullOutput ());
964
964
You can’t perform that action at this time.
0 commit comments