X-Git-Url: http://git.heureux-cyclage.org/?a=blobdiff_plain;f=tests%2Fphpunit%2Fincludes%2Fsession%2FSessionManagerTest.php;h=e6186448a52189b82464d6908de8296722bf5f35;hb=197ee74f2b9bebfd5982df34a8c174aa12f51ff2;hp=4424735461bdaf3707b7f374792a3dddcb6c6ce1;hpb=f22549a60539c9aa5c5390c8417c984ba8eef5b2;p=lhc%2Fweb%2Fwiklou.git diff --git a/tests/phpunit/includes/session/SessionManagerTest.php b/tests/phpunit/includes/session/SessionManagerTest.php index 4424735461..e6186448a5 100644 --- a/tests/phpunit/includes/session/SessionManagerTest.php +++ b/tests/phpunit/includes/session/SessionManagerTest.php @@ -1113,7 +1113,7 @@ class SessionManagerTest extends MediaWikiTestCase { $provider->expects( $this->any() )->method( 'mergeMetadata' ) ->will( $this->returnCallback( function ( $a, $b ) { if ( $b === array( 'Throw' ) ) { - throw new \UnexpectedValueException( 'no merge!' ); + throw new MetadataMergeException( 'no merge!' ); } return array( 'Merged' ); } ) );