From 5a08f8341a212f065c63aa6c627bda457fb080d5 Mon Sep 17 00:00:00 2001 From: Mateusz Heleniak Date: Wed, 19 Oct 2011 18:16:00 +0200 Subject: [PATCH] fixed unit tests, fixes GH-22 --- Tests/DependencyInjection/LiipImagineExtensionTest.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Tests/DependencyInjection/LiipImagineExtensionTest.php b/Tests/DependencyInjection/LiipImagineExtensionTest.php index 5e1a365c4..9f464f8a5 100644 --- a/Tests/DependencyInjection/LiipImagineExtensionTest.php +++ b/Tests/DependencyInjection/LiipImagineExtensionTest.php @@ -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')) ); } @@ -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%') ); }