Fix type of exception no longer matching after someone changed it without running...
authorjeroendedauw <jeroendedauw@gmail.com>
Fri, 24 Aug 2012 19:10:45 +0000 (21:10 +0200)
committerjeroendedauw <jeroendedauw@gmail.com>
Fri, 24 Aug 2012 19:10:45 +0000 (21:10 +0200)
Change-Id: I5b1c3556f40d869f0f5d4a617f01f981d607d11f

tests/phpunit/includes/libs/GenericArrayObjectTest.php

index 5e4cda1..bf3ff3c 100644 (file)
@@ -1,6 +1,5 @@
 <?php
 
-
 /**
  * Tests for the GenericArrayObject and deriving classes.
  *
@@ -171,7 +170,7 @@ abstract class GenericArrayObjectTest extends MediaWikiTestCase {
                                call_user_func( $function, $list, $element );
                                $valid = true;
                        }
-                       catch ( \MWException $exception ) {
+                       catch ( Exception $exception ) {
                                $valid = false;
                        }