From 11d290fe7bd308b7b10f06c0d6554e33bcedb39c Mon Sep 17 00:00:00 2001 From: jeroendedauw Date: Mon, 27 Aug 2012 13:34:02 +0200 Subject: use InvalidArgumentException rather then Exception Change-Id: Ie744c773b316278e4a92af28354a8fe4eb83b78f --- tests/phpunit/includes/libs/GenericArrayObjectTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/phpunit/includes/libs/GenericArrayObjectTest.php') 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; } -- cgit v1.2.3