Merge "Preserve font size in ApiSandbox when going fullscreen"
[lhc/web/wiklou.git] / tests / phpunit / includes / session / TokenTest.php
index 113f409..ca001f3 100644 (file)
@@ -11,9 +11,9 @@ use MediaWikiTestCase;
 class TokenTest extends MediaWikiTestCase {
 
        public function testBasics() {
-               $token = $this->getMockBuilder( 'MediaWiki\\Session\\Token' )
-                       ->setMethods( array( 'toStringAtTimestamp' ) )
-                       ->setConstructorArgs( array( 'sekret', 'salty', true ) )
+               $token = $this->getMockBuilder( Token::class )
+                       ->setMethods( [ 'toStringAtTimestamp' ] )
+                       ->setConstructorArgs( [ 'sekret', 'salty', true ] )
                        ->getMock();
                $token->expects( $this->any() )->method( 'toStringAtTimestamp' )
                        ->will( $this->returnValue( 'faketoken+\\' ) );