diff options
author | jeroendedauw <jeroendedauw@gmail.com> | 2012-08-27 13:34:02 +0200 |
---|---|---|
committer | jeroendedauw <jeroendedauw@gmail.com> | 2012-08-27 13:34:02 +0200 |
commit | 11d290fe7bd308b7b10f06c0d6554e33bcedb39c (patch) | |
tree | a57624e751adc469b4213a2e2170cec5664b0c61 /tests/phpunit/includes | |
parent | 139c32618ed3d7979f813fb012d5358c40bafc82 (diff) | |
download | mediawikicore-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.php | 2 |
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; } |