Fix type of exception no longer matching after someone changed it without running the tests...
Change-Id: I5b1c3556f40d869f0f5d4a617f01f981d607d11f
This commit is contained in:
parent
6fe1f2c755
commit
1bc7295296
1 changed files with 1 additions and 2 deletions
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue