浏览代码

[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()
     {