Merge "Fix sessionfailure i18n message during authentication"
[lhc/web/wiklou.git] / tests / phpunit / includes / auth / PasswordDomainAuthenticationRequestTest.php
index f746515..36be424 100644 (file)
@@ -149,10 +149,10 @@ class PasswordDomainAuthenticationRequestTest extends AuthenticationRequestTestC
                $ret = $req->describeCredentials();
                $this->assertInternalType( 'array', $ret );
                $this->assertArrayHasKey( 'provider', $ret );
-               $this->assertInstanceOf( 'Message', $ret['provider'] );
+               $this->assertInstanceOf( \Message::class, $ret['provider'] );
                $this->assertSame( 'authmanager-provider-password-domain', $ret['provider']->getKey() );
                $this->assertArrayHasKey( 'account', $ret );
-               $this->assertInstanceOf( 'Message', $ret['account'] );
+               $this->assertInstanceOf( \Message::class, $ret['account'] );
                $this->assertSame( 'authmanager-account-password-domain', $ret['account']->getKey() );
                $this->assertSame( [ 'UTSysop', 'd2' ], $ret['account']->getParams() );
        }