From: addshore Date: Wed, 27 Jan 2016 16:22:32 +0000 (+0100) Subject: assertEquals does not return anything X-Git-Tag: 1.31.0-rc.0~8188 X-Git-Url: https://git.heureux-cyclage.org/?p=lhc%2Fweb%2Fwiklou.git;a=commitdiff_plain;h=11516d32924812f776a677df3a9d8e31c876550f assertEquals does not return anything Also this method is not documented as returning anything Change-Id: Ibcfda0bec5f84b308866a662400ed5e97dd1ac06 --- 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 ); } /**