aboutsummaryrefslogtreecommitdiffstats
path: root/tests/phpunit/includes/MessageTest.php
diff options
context:
space:
mode:
Diffstat (limited to 'tests/phpunit/includes/MessageTest.php')
-rw-r--r--tests/phpunit/includes/MessageTest.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/phpunit/includes/MessageTest.php b/tests/phpunit/includes/MessageTest.php
index 9f758b0d764b..620aaa0193c7 100644
--- a/tests/phpunit/includes/MessageTest.php
+++ b/tests/phpunit/includes/MessageTest.php
@@ -891,7 +891,7 @@ class MessageTest extends MediaWikiLangTestCase {
$msg = new Message( 'parentheses' );
$msg->rawParams( '<a>foo</a>' );
$msg->page( PageReferenceValue::localReference( NS_MAIN, 'Testing' ) );
- $this->assertSame( '(<a>foo</a>)', $msg->parse(), 'Sanity check' );
+ $this->assertSame( '(<a>foo</a>)', $msg->parse() );
$msg = unserialize( serialize( $msg ) );
$this->assertSame( '(<a>foo</a>)', $msg->parse() );
$title = TestingAccessWrapper::newFromObject( $msg )->contextPage;
@@ -900,7 +900,7 @@ class MessageTest extends MediaWikiLangTestCase {
$msg = new Message( 'mainpage' );
$msg->inLanguage( 'de' );
- $this->assertSame( 'Hauptseite', $msg->plain(), 'Sanity check' );
+ $this->assertSame( 'Hauptseite', $msg->plain() );
$msg = unserialize( serialize( $msg ) );
$this->assertSame( 'Hauptseite', $msg->plain() );
}