summaryrefslogtreecommitdiff
path: root/www/wiki/extensions/UniversalLanguageSelector/tests/phpunit/ULSJsonMessageLoaderTest.php
diff options
context:
space:
mode:
Diffstat (limited to 'www/wiki/extensions/UniversalLanguageSelector/tests/phpunit/ULSJsonMessageLoaderTest.php')
-rw-r--r--www/wiki/extensions/UniversalLanguageSelector/tests/phpunit/ULSJsonMessageLoaderTest.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/www/wiki/extensions/UniversalLanguageSelector/tests/phpunit/ULSJsonMessageLoaderTest.php b/www/wiki/extensions/UniversalLanguageSelector/tests/phpunit/ULSJsonMessageLoaderTest.php
index 817f2500..9cec98ae 100644
--- a/www/wiki/extensions/UniversalLanguageSelector/tests/phpunit/ULSJsonMessageLoaderTest.php
+++ b/www/wiki/extensions/UniversalLanguageSelector/tests/phpunit/ULSJsonMessageLoaderTest.php
@@ -16,14 +16,14 @@ class ULSJsonMessageLoaderTest extends \PHPUnit\Framework\TestCase {
public function testGetFilenamesWithBadInput() {
$instance = new ULSJsonMessageLoader();
- $this->setExpectedException( \MWException::class );
+ $this->setExpectedException( \Exception::class );
$instance->getFilenames( null );
}
public function testGetMessagesWithBadInput() {
$instance = new ULSJsonMessageLoader();
- $this->setExpectedException( \MWException::class );
+ $this->setExpectedException( \Exception::class );
$instance->getMessages( null );
}