X-Git-Url: https://git.cyclocoop.org/%7B%24www_url%7Dadmin/compta/exercices/journal.php?a=blobdiff_plain;f=tests%2Fphpunit%2Fincludes%2Fauth%2FTemporaryPasswordAuthenticationRequestTest.php;h=ab4a174eb96e81514f4c31621ca2a3de93cce908;hb=45da5815517c408bafed6b3744766860afdcd7b8;hp=05c5165b441d850aab3e71e8d38b9eaa3b305450;hpb=aff17edd95620bff595dfa88013b422b38b1db2a;p=lhc%2Fweb%2Fwiklou.git diff --git a/tests/phpunit/includes/auth/TemporaryPasswordAuthenticationRequestTest.php b/tests/phpunit/includes/auth/TemporaryPasswordAuthenticationRequestTest.php index 05c5165b44..ab4a174eb9 100644 --- a/tests/phpunit/includes/auth/TemporaryPasswordAuthenticationRequestTest.php +++ b/tests/phpunit/includes/auth/TemporaryPasswordAuthenticationRequestTest.php @@ -70,10 +70,10 @@ class TemporaryPasswordAuthenticationRequestTest extends AuthenticationRequestTe $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-temporarypassword', $ret['provider']->getKey() ); $this->assertArrayHasKey( 'account', $ret ); - $this->assertInstanceOf( 'Message', $ret['account'] ); + $this->assertInstanceOf( \Message::class, $ret['account'] ); $this->assertSame( [ 'UTSysop' ], $ret['account']->getParams() ); } }