Fix type of exception no longer matching after someone changed it without running the tests...

Change-Id: I5b1c3556f40d869f0f5d4a617f01f981d607d11f
This commit is contained in:
jeroendedauw 2012-08-24 21:10:45 +02:00
parent 6fe1f2c755
commit 1bc7295296

View 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;
}