Skip to content
Browse files

[Config] fixed a unit test

  • Loading branch information...
1 parent 2b60131 commit 4259530856c6f58d18ac6082f62d3f27b049b62e @fabpot fabpot committed Jul 1, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 tests/Symfony/Tests/Component/Config/Loader/LoaderTest.php
View
2 tests/Symfony/Tests/Component/Config/Loader/LoaderTest.php
@@ -49,7 +49,7 @@ public function testResolve()
$loader = new ProjectLoader1();
$loader->setResolver($resolver);
try {
- $loader->resolve(new \stdClass());
+ $loader->resolve('FOOBAR');
$this->fail('->resolve() throws a FileLoaderLoadException if the resource cannot be loaded');
} catch (FileLoaderLoadException $e) {
$this->assertInstanceOf('Symfony\Component\Config\Exception\FileLoaderLoadException', $e, '->resolve() throws a FileLoaderLoadException if the resource cannot be loaded');

0 comments on commit 4259530

Please sign in to comment.
Something went wrong with that request. Please try again.