File tree Expand file tree Collapse file tree 2 files changed +8
-8
lines changed
tests/AntiMattr/Tests/MongoDB/Migrations/Tools/Console/Command Expand file tree Collapse file tree 2 files changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -39,7 +39,7 @@ public function testExecuteDownWithoutInteraction()
3939 'application-name ' ,
4040 ExecuteCommand::NAME ,
4141 $ numVersion ,
42- '--down '
42+ '--down ' ,
4343 )
4444 );
4545
@@ -78,7 +78,7 @@ public function testExecuteUpWithInteraction()
7878 $ application = new Application ();
7979 $ helperSet = new HelperSet (
8080 array (
81- 'question ' => $ question
81+ 'question ' => $ question,
8282 )
8383 );
8484 $ numVersion = '1234567890 ' ;
@@ -89,7 +89,7 @@ public function testExecuteUpWithInteraction()
8989 array (
9090 'application-name ' ,
9191 ExecuteCommand::NAME ,
92- $ numVersion
92+ $ numVersion,
9393 )
9494 );
9595
@@ -109,7 +109,7 @@ public function testExecuteUpWithInteraction()
109109 ;
110110
111111 $ question ->expects ($ this ->once ())
112- ->method ('askConfirmation ' )
112+ ->method ('ask ' )
113113 ->will (
114114 $ this ->returnValue (true )
115115 )
Original file line number Diff line number Diff line change @@ -36,7 +36,7 @@ public function testExecuteWithExectedUnavailableVersionAndInteraction()
3636 array (
3737 'application-name ' ,
3838 MigrateCommand::NAME ,
39- $ numVersion
39+ $ numVersion,
4040 )
4141 );
4242 $ interactive = true ;
@@ -45,7 +45,7 @@ public function testExecuteWithExectedUnavailableVersionAndInteraction()
4545 $ application = new Application ();
4646 $ helperSet = new HelperSet (
4747 array (
48- 'question ' => $ question
48+ 'question ' => $ question,
4949 )
5050 );
5151
@@ -72,7 +72,7 @@ public function testExecuteWithExectedUnavailableVersionAndInteraction()
7272 ;
7373
7474 $ question ->expects ($ this ->exactly (2 ))
75- ->method ('askConfirmation ' )
75+ ->method ('ask ' )
7676 ->will (
7777 $ this ->returnValue (true )
7878 )
@@ -102,7 +102,7 @@ public function testExecute()
102102 $ input = new ArgvInput (
103103 array (
104104 MigrateCommand::NAME ,
105- $ numVersion
105+ $ numVersion,
106106 )
107107 );
108108 $ interactive = false ;
You can’t perform that action at this time.
0 commit comments