Skip to content

Commit

Permalink
Fixed the testsuite
Browse files Browse the repository at this point in the history
  • Loading branch information
stof committed May 25, 2013
1 parent aa7328f commit f090ba5
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,11 @@ class AddTemplatePathPassTest extends \PHPUnit_Framework_TestCase
public function testProcessWithoutProviderDefinition()
{
$containerBuilder = $this->getMock('Symfony\Component\DependencyInjection\ContainerBuilder');
$containerBuilder->expects($this->once())
$containerBuilder->expects($this->any())
->method('hasDefinition')
->will($this->returnValue(false));
$containerBuilder->expects($this->never())
->method('findTaggedServiceIds');
->method('getDefinition');

$templatePathPass = new AddTemplatePathPass();

Expand Down

0 comments on commit f090ba5

Please sign in to comment.