소스 검색

[Translation] changed some unit tests for PHPUnit 3.6.0 compatibility

Fabien Potencier 13 년 전
부모
커밋
92d19063a8
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2 2
      tests/Symfony/Tests/Component/Translation/Loader/XliffFileLoaderTest.php

+ 2 - 2
tests/Symfony/Tests/Component/Translation/Loader/XliffFileLoaderTest.php

@@ -28,7 +28,7 @@ class XliffFileLoaderTest extends \PHPUnit_Framework_TestCase
     }
 
     /**
-     * @expectedException Exception
+     * @expectedException \RuntimeException
      */
     public function testLoadInvalidResource()
     {
@@ -37,7 +37,7 @@ class XliffFileLoaderTest extends \PHPUnit_Framework_TestCase
     }
 
     /**
-     * @expectedException Exception
+     * @expectedException \RuntimeException
      */
     public function testLoadResourceDoesNotValidate()
     {