From 11516d32924812f776a677df3a9d8e31c876550f Mon Sep 17 00:00:00 2001 From: addshore Date: Wed, 27 Jan 2016 17:22:32 +0100 Subject: [PATCH] assertEquals does not return anything Also this method is not documented as returning anything Change-Id: Ibcfda0bec5f84b308866a662400ed5e97dd1ac06 --- tests/phpunit/includes/EditPageTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/phpunit/includes/EditPageTest.php b/tests/phpunit/includes/EditPageTest.php index 51f00832ba..804b6ba405 100644 --- a/tests/phpunit/includes/EditPageTest.php +++ b/tests/phpunit/includes/EditPageTest.php @@ -86,7 +86,7 @@ class EditPageTest extends MediaWikiLangTestCase { * @param string $msg */ protected function assertEditedTextEquals( $expected, $actual, $msg = '' ) { - return $this->assertEquals( rtrim( $expected ), rtrim( $actual ), $msg ); + $this->assertEquals( rtrim( $expected ), rtrim( $actual ), $msg ); } /** -- 2.20.1