Jelajahi Sumber

[Translation] changed some unit tests for PHPUnit 3.6.0 compatibility

Fabien Potencier 13 tahun lalu
induk
melakukan
92d19063a8

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