Skip to content

Commit

Permalink
fixed unit tests, fixes GH-22
Browse files Browse the repository at this point in the history
  • Loading branch information
Mateusz Heleniak committed Oct 19, 2011
1 parent 31f3662 commit 5a08f83
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Tests/DependencyInjection/LiipImagineExtensionTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ public function testLoadWithDefaults()
$this->assertHasDefinition('liip_imagine.controller');
$this->assertDICConstructorArguments(
$this->containerBuilder->getDefinition('liip_imagine.controller'),
array(new Reference('liip_imagine.loader.filesystem'), new Reference('liip_imagine.filter.manager'), new Reference('liip_imagine.cache.path.resolver'))
array(new Reference('liip_imagine.loader.filesystem'), new Reference('liip_imagine.filter.manager'), '%liip_imagine.web_root%', new Reference('liip_imagine.cache.path.resolver'))
);
}

Expand All @@ -55,7 +55,7 @@ public function testLoad()
$this->assertHasDefinition('liip_imagine.controller');
$this->assertDICConstructorArguments(
$this->containerBuilder->getDefinition('liip_imagine.controller'),
array(new Reference('acme_liip_imagine.loader'), new Reference('liip_imagine.filter.manager'))
array(new Reference('acme_liip_imagine.loader'), new Reference('liip_imagine.filter.manager'), '%liip_imagine.web_root%')
);
}

Expand Down

0 comments on commit 5a08f83

Please sign in to comment.