소스 검색

[Config] fixed a unit test

Fabien Potencier 14 년 전
부모
커밋
4259530856
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      tests/Symfony/Tests/Component/Config/Loader/LoaderTest.php

+ 1 - 1
tests/Symfony/Tests/Component/Config/Loader/LoaderTest.php

@@ -49,7 +49,7 @@ class LoaderTest extends \PHPUnit_Framework_TestCase
         $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');