Pārlūkot izejas kodu

[DoctrineBundle] fixed a unit test

Fabien Potencier 14 gadi atpakaļ
vecāks
revīzija
a9a56e2387

+ 1 - 1
src/Symfony/Bundle/DoctrineBundle/Tests/Command/InfoDoctrineCommandTest.php

@@ -17,7 +17,7 @@ class InfoDoctrineCommandTest extends TestCase
         $output = $this->getMock('Symfony\Component\Console\Output\OutputInterface');
         $output->expects($this->at(0))
                ->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))
                ->method('write')
                ->with($this->equalTo("<info>[OK]</info>   Fixtures\Bundles\YamlBundle\Entity\Test"), $this->equalTo(true));