|
@@ -16,11 +16,11 @@ class InfoDoctrineCommandTest extends TestCase
|
|
|
$input = new StringInput("doctrine:mapping:info");
|
|
|
$output = $this->getMock('Symfony\Component\Console\Output\OutputInterface');
|
|
|
$output->expects($this->at(0))
|
|
|
- ->method('write')
|
|
|
- ->with($this->equalTo("Found <info>1</info> entities mapped in entity manager <info>default</info>:\n"), $this->equalTo(true));
|
|
|
+ ->method('writeln')
|
|
|
+ ->with($this->equalTo("Found <info>1</info> entities mapped in entity manager <info>default</info>:"));
|
|
|
$output->expects($this->at(1))
|
|
|
- ->method('write')
|
|
|
- ->with($this->equalTo("<info>[OK]</info> Fixtures\Bundles\YamlBundle\Entity\Test"), $this->equalTo(true));
|
|
|
+ ->method('writeln')
|
|
|
+ ->with($this->equalTo("<info>[OK]</info> Fixtures\Bundles\YamlBundle\Entity\Test"));
|
|
|
|
|
|
$testContainer = $this->createYamlBundleTestContainer();
|
|
|
$kernel = $this->getMock('Symfony\Component\HttpKernel\Kernel', array(), array(), '', false);
|
|
@@ -36,4 +36,4 @@ class InfoDoctrineCommandTest extends TestCase
|
|
|
$cmd->setApplication($application);
|
|
|
$cmd->run($input, $output);
|
|
|
}
|
|
|
-}
|
|
|
+}
|