aboutsummaryrefslogtreecommitdiffstats
path: root/tests/phpunit/includes/StatusTest.php
diff options
context:
space:
mode:
authorUmherirrender <umherirrender_de.wp@web.de>2021-01-30 13:51:38 +0100
committerReedy <reedy@wikimedia.org>2021-01-31 13:34:38 +0000
commit62002cdcf1becd528764cad2123393fd8ac4d587 (patch)
treee0739c735a3ecc85a6eb06f762c89d1efb961d44 /tests/phpunit/includes/StatusTest.php
parent8a03ce65641954fa283c97283b9f1f6e513109e9 (diff)
downloadmediawikicore-62002cdcf1becd528764cad2123393fd8ac4d587.tar.gz
mediawikicore-62002cdcf1becd528764cad2123393fd8ac4d587.zip
build: Update mediawiki/mediawiki-codesniffer to 35.0.0
Change-Id: Idb413be4b8cba8611afdc022af59810ce1a4531e
Diffstat (limited to 'tests/phpunit/includes/StatusTest.php')
-rw-r--r--tests/phpunit/includes/StatusTest.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/phpunit/includes/StatusTest.php b/tests/phpunit/includes/StatusTest.php
index 5a8820d6db69..d9264c10b314 100644
--- a/tests/phpunit/includes/StatusTest.php
+++ b/tests/phpunit/includes/StatusTest.php
@@ -165,7 +165,7 @@ class StatusTest extends MediaWikiLangTestCase {
}
$warnings = $status->getWarningsArray();
- $this->assertEquals( count( $messages ), count( $warnings ) );
+ $this->assertSame( count( $messages ), count( $warnings ) );
foreach ( $messages as $key => $message ) {
$expectedArray = array_merge( [ $message->getKey() ], $message->getParams() );
$this->assertEquals( $warnings[$key], $expectedArray );
@@ -188,7 +188,7 @@ class StatusTest extends MediaWikiLangTestCase {
}
$errors = $status->getErrorsArray();
- $this->assertEquals( count( $messages ), count( $errors ) );
+ $this->assertSame( count( $messages ), count( $errors ) );
foreach ( $messages as $key => $message ) {
$expectedArray = array_merge( [ $message->getKey() ], $message->getParams() );
$this->assertEquals( $errors[$key], $expectedArray );
@@ -210,7 +210,7 @@ class StatusTest extends MediaWikiLangTestCase {
}
$errors = $status->getErrorsArray();
- $this->assertEquals( count( $messages ), count( $errors ) );
+ $this->assertSame( count( $messages ), count( $errors ) );
foreach ( $messages as $key => $message ) {
$expectedArray = array_merge( [ $message->getKey() ], $message->getParams() );
$this->assertEquals( $errors[$key], $expectedArray );