[DoctrineBundle] fixed a unit test
This commit is contained in:
parent
d1bdd88ac2
commit
a9a56e2387
@ -17,7 +17,7 @@ class InfoDoctrineCommandTest extends TestCase
|
|||||||
$output = $this->getMock('Symfony\Component\Console\Output\OutputInterface');
|
$output = $this->getMock('Symfony\Component\Console\Output\OutputInterface');
|
||||||
$output->expects($this->at(0))
|
$output->expects($this->at(0))
|
||||||
->method('write')
|
->method('write')
|
||||||
->with($this->equalTo("Found 1 entities mapped in entity manager 'default':"), $this->equalTo(true));
|
->with($this->equalTo("Found <info>1</info> entities mapped in entity manager <info>default</info>:\n"), $this->equalTo(true));
|
||||||
$output->expects($this->at(1))
|
$output->expects($this->at(1))
|
||||||
->method('write')
|
->method('write')
|
||||||
->with($this->equalTo("<info>[OK]</info> Fixtures\Bundles\YamlBundle\Entity\Test"), $this->equalTo(true));
|
->with($this->equalTo("<info>[OK]</info> Fixtures\Bundles\YamlBundle\Entity\Test"), $this->equalTo(true));
|
||||||
|
Reference in New Issue
Block a user