@@ -7,7 +7,6 @@ |
||
| 7 | 7 | |
| 8 | 8 | use Symfony\Component\Console\Command\Command; |
| 9 | 9 | use Symfony\Component\Console\Input\InputArgument; |
| 10 | - |
|
| 11 | 10 | use Symfony\Component\Console\Input\InputInterface; |
| 12 | 11 | use Symfony\Component\Console\Input\InputOption; |
| 13 | 12 | use Symfony\Component\Console\Output\OutputInterface; |
@@ -51,7 +51,7 @@ discard block |
||
| 51 | 51 | $clientMock = $this->getMockBuilder('\MongoClient')->disableOriginalConstructor()->getMock(); |
| 52 | 52 | |
| 53 | 53 | $collectionMock = $this->getMockBuilder('\MongoCollection')->disableOriginalConstructor()->getMock(); |
| 54 | - $collectionMock->method('save')->will($this->returnCallback(array($this,'saveCollectionCallback'))); |
|
| 54 | + $collectionMock->method('save')->will($this->returnCallback(array($this, 'saveCollectionCallback'))); |
|
| 55 | 55 | |
| 56 | 56 | $dbMock = $this->getMockBuilder('\MongoDB')->disableOriginalConstructor()->getMock(); |
| 57 | 57 | $dbMock->method('selectCollection')->willReturn($collectionMock); |
@@ -118,7 +118,7 @@ discard block |
||
| 118 | 118 | |
| 119 | 119 | // fail in output? |
| 120 | 120 | $this->assertContains( |
| 121 | - 'Could not deserialize file <' . $this->sourceDir . '/Dudess/Invalid.json>', |
|
| 121 | + 'Could not deserialize file <'.$this->sourceDir.'/Dudess/Invalid.json>', |
|
| 122 | 122 | $this->cmdTester->getDisplay() |
| 123 | 123 | ); |
| 124 | 124 | $this->assertEquals(1, $this->cmdTester->getStatusCode()); |