diff options
author | Daimona Eaytoy <daimona.wiki@gmail.com> | 2019-12-13 15:29:10 +0100 |
---|---|---|
committer | Daimona Eaytoy <daimona.wiki@gmail.com> | 2019-12-13 15:29:10 +0100 |
commit | 6365eaab8df533cc8e1a77e2d3f63ab0ed73ba5a (patch) | |
tree | 4a26f0577b7cf219656e1fb6d81a29de79c3f953 /tests/phpunit/includes/auth/AuthenticationRequestTest.php | |
parent | 3746d3dacbae4d70bf3bf290f3373c7499df221e (diff) | |
download | mediawikicore-6365eaab8df533cc8e1a77e2d3f63ab0ed73ba5a.tar.gz mediawikicore-6365eaab8df533cc8e1a77e2d3f63ab0ed73ba5a.zip |
Autofix 94 PHPUnit 8 compat issues
Done automatically using the master version of MW codesniffer and
running composer fix.
Bug: T192167
Change-Id: If6b40f515fde32ab5eff074a90e821c30c791827
Diffstat (limited to 'tests/phpunit/includes/auth/AuthenticationRequestTest.php')
-rw-r--r-- | tests/phpunit/includes/auth/AuthenticationRequestTest.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/phpunit/includes/auth/AuthenticationRequestTest.php b/tests/phpunit/includes/auth/AuthenticationRequestTest.php index 1aad494d7886..3cee683032d8 100644 --- a/tests/phpunit/includes/auth/AuthenticationRequestTest.php +++ b/tests/phpunit/includes/auth/AuthenticationRequestTest.php @@ -15,7 +15,7 @@ class AuthenticationRequestTest extends \MediaWikiTestCase { $this->assertType( 'array', $mock->getMetadata() ); $ret = $mock->describeCredentials(); - $this->assertInternalType( 'array', $ret ); + $this->assertIsArray( $ret ); $this->assertArrayHasKey( 'provider', $ret ); $this->assertInstanceOf( \Message::class, $ret['provider'] ); $this->assertArrayHasKey( 'account', $ret ); |