aboutsummaryrefslogtreecommitdiffstats
path: root/tests/phpunit/includes
diff options
context:
space:
mode:
authorjeroendedauw <jeroendedauw@gmail.com>2012-08-27 13:34:02 +0200
committerjeroendedauw <jeroendedauw@gmail.com>2012-08-27 13:34:02 +0200
commit11d290fe7bd308b7b10f06c0d6554e33bcedb39c (patch)
treea57624e751adc469b4213a2e2170cec5664b0c61 /tests/phpunit/includes
parent139c32618ed3d7979f813fb012d5358c40bafc82 (diff)
downloadmediawikicore-11d290fe7bd308b7b10f06c0d6554e33bcedb39c.tar.gz
mediawikicore-11d290fe7bd308b7b10f06c0d6554e33bcedb39c.zip
use InvalidArgumentException rather then Exception
Change-Id: Ie744c773b316278e4a92af28354a8fe4eb83b78f
Diffstat (limited to 'tests/phpunit/includes')
-rw-r--r--tests/phpunit/includes/libs/GenericArrayObjectTest.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/phpunit/includes/libs/GenericArrayObjectTest.php b/tests/phpunit/includes/libs/GenericArrayObjectTest.php
index bf3ff3cd2bb8..8a2fb559714d 100644
--- a/tests/phpunit/includes/libs/GenericArrayObjectTest.php
+++ b/tests/phpunit/includes/libs/GenericArrayObjectTest.php
@@ -170,7 +170,7 @@ abstract class GenericArrayObjectTest extends MediaWikiTestCase {
call_user_func( $function, $list, $element );
$valid = true;
}
- catch ( Exception $exception ) {
+ catch ( InvalidArgumentException $exception ) {
$valid = false;
}