File tree Expand file tree Collapse file tree 1 file changed +0
-5
lines changed
tests/AntiMattr/Tests/MongoDB/Migrations Expand file tree Collapse file tree 1 file changed +0
-5
lines changed Original file line number Diff line number Diff line change @@ -12,7 +12,6 @@ class VersionTest extends TestCase
1212{
1313 private $ className ;
1414 private $ configuration ;
15- private $ connections ;
1615 private $ db ;
1716 private $ migration ;
1817 private $ version ;
@@ -24,7 +23,6 @@ protected function setUp()
2423 {
2524 $ this ->className = 'AntiMattr\Tests\MongoDB\Migrations\Version20140908000000 ' ;
2625 $ this ->configuration = $ this ->createMock ('AntiMattr\MongoDB\Migrations\Configuration\Configuration ' );
27- $ this ->connection = $ this ->createMock ('\MongoDB\Client ' );
2826 $ this ->db = $ this ->createMock ('\MongoDB\Database ' );
2927 $ this ->migration = $ this ->createMock ('AntiMattr\Tests\MongoDB\Migrations\Version20140908000000 ' );
3028 $ this ->outputWriter = $ this ->createMock ('AntiMattr\MongoDB\Migrations\OutputWriter ' );
@@ -34,9 +32,6 @@ protected function setUp()
3432 $ this ->configuration ->expects ($ this ->once ())
3533 ->method ('getOutputWriter ' )
3634 ->will ($ this ->returnValue ($ this ->outputWriter ));
37- $ this ->configuration ->expects ($ this ->once ())
38- ->method ('getConnection ' )
39- ->will ($ this ->returnValue ($ this ->connection ));
4035 $ this ->configuration ->expects ($ this ->once ())
4136 ->method ('getDatabase ' )
4237 ->will ($ this ->returnValue ($ this ->db ));
You can’t perform that action at this time.
0 commit comments