assertEquals does not return anything
authoraddshore <addshorewiki@gmail.com>
Wed, 27 Jan 2016 16:22:32 +0000 (17:22 +0100)
committerFlorianschmidtwelzow <florian.schmidt.stargatewissen@gmail.com>
Wed, 27 Jan 2016 16:37:46 +0000 (16:37 +0000)
Also this method is not documented as returning
anything

Change-Id: Ibcfda0bec5f84b308866a662400ed5e97dd1ac06

tests/phpunit/includes/EditPageTest.php

index 51f0083..804b6ba 100644 (file)
@@ -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 );
        }
 
        /**