File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
tests/AntiMattr/Tests/MongoDB/Migrations/Tools/Console/Command Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -29,10 +29,6 @@ protected function setUp()
2929 $ this ->outputFormatter = $ this ->buildMock (
3030 'Symfony\Component\Console\Formatter\OutputFormatterInterface '
3131 );
32- $ this ->output
33- ->method ('getFormatter ' )
34- ->will ($ this ->returnValue ($ this ->outputFormatter ));
35-
3632 $ this ->config = $ this ->buildMock ('AntiMattr\MongoDB\Migrations\Configuration\Configuration ' );
3733 $ this ->migration = $ this ->buildMock ('AntiMattr\MongoDB\Migrations\AbstractMigration ' );
3834 $ this ->version = $ this ->buildMock ('AntiMattr\MongoDB\Migrations\Version ' );
@@ -257,6 +253,10 @@ public function testExecuteWithShowingVersions()
257253 $ unavailableMigratedVersion = '20140822185744 ' ;
258254
259255 // Expectations
256+ $ this ->output
257+ ->method ('getFormatter ' )
258+ ->will ($ this ->returnValue ($ this ->outputFormatter ));
259+
260260 $ this ->version ->expects ($ this ->exactly (2 ))
261261 ->method ('getVersion ' )
262262 ->will ($ this ->returnValue ($ notMigratedVersion ));
You can’t perform that action at this time.
0 commit comments