Merge "Log multiple IPs using the same session or the same user account"
[lhc/web/wiklou.git] / tests / phpunit / includes / session / SessionManagerTest.php
index 4424735..e618644 100644 (file)
@@ -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' );
                        } ) );