aboutsummaryrefslogtreecommitdiffstats
path: root/tests/phpunit/includes/TitleTest.php
diff options
context:
space:
mode:
Diffstat (limited to 'tests/phpunit/includes/TitleTest.php')
-rw-r--r--tests/phpunit/includes/TitleTest.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/phpunit/includes/TitleTest.php b/tests/phpunit/includes/TitleTest.php
index 467db11e5e2f..a73482d7df23 100644
--- a/tests/phpunit/includes/TitleTest.php
+++ b/tests/phpunit/includes/TitleTest.php
@@ -1776,8 +1776,8 @@ class TitleTest extends MediaWikiIntegrationTestCase {
[ 'edit' => [ 'sysop' ] ],
$result[1]
);
- $this->assertTrue(
- array_key_exists( $anotherPage->getTitle()->getArticleID(), $result[0] )
+ $this->assertArrayHasKey(
+ $anotherPage->getTitle()->getArticleID(), $result[0]
);
}