Skip to content

Commit

Permalink
Merge pull request #24 from mheleniak/fix_unit_test_1
Browse files Browse the repository at this point in the history
fixed unit tests, fixes GH-22
  • Loading branch information
lsmith77 committed Oct 19, 2011
2 parents 31f3662 + 5a08f83 commit ef20d6a
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 ef20d6a

Please sign in to comment.