10000 [Translation] changed some unit tests for PHPUnit 3.6.0 compatibility · Faianca/symfony@92d1906 · GitHub
[go: up one dir, main page]

Skip to content

Commit 92d1906

Browse files
committed
[Translation] changed some unit tests for PHPUnit 3.6.0 compatibility
1 parent cf4a91e commit 92d1906

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/Symfony/Tests/Component/Translation/Loader/XliffFileLoaderTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ public function testLoad()
2828
}
2929

3030
/**
31-
* @expectedException Exception
31+
* @expectedException \RuntimeException
3232
*/
3333
public function testLoadInvalidResource()
3434
{
@@ -37,7 +37,7 @@ public function testLoadInvalidResource()
3737
}
3838

3939
/**
40-
* @expectedException Exception
40+
* @expectedException \RuntimeException
4141
*/
4242
public function testLoadResourceDoesNotValidate()
4343
{

0 commit comments

Comments
 (0)
0