diff options
Diffstat (limited to 'tests/phpunit/includes/page')
-rw-r--r-- | tests/phpunit/includes/page/ArticleTest.php | 2 | ||||
-rw-r--r-- | tests/phpunit/includes/page/ParserOutputAccessTest.php | 4 | ||||
-rw-r--r-- | tests/phpunit/includes/page/WikiPageDbTest.php | 2 |
3 files changed, 4 insertions, 4 deletions
diff --git a/tests/phpunit/includes/page/ArticleTest.php b/tests/phpunit/includes/page/ArticleTest.php index 26e0481f6c56..b1cabbf5897d 100644 --- a/tests/phpunit/includes/page/ArticleTest.php +++ b/tests/phpunit/includes/page/ArticleTest.php @@ -104,7 +104,7 @@ class ArticleTest extends \MediaWikiIntegrationTestCase { if ( $editPageText !== null ) { $editedUser = $isEditedBySameUser ? $user1 : $user2; $editIsGood = $this->editPage( $article->getPage(), $editPageText, '', NS_MAIN, $editedUser )->isGood(); - $this->assertTrue( $editIsGood, 'Sanity: edited a page' ); + $this->assertTrue( $editIsGood, 'edited a page' ); } $this->assertSame( $expectedResult, $article->showPatrolFooter() ); } diff --git a/tests/phpunit/includes/page/ParserOutputAccessTest.php b/tests/phpunit/includes/page/ParserOutputAccessTest.php index f49f2ab6f454..9c5fd9caeb09 100644 --- a/tests/phpunit/includes/page/ParserOutputAccessTest.php +++ b/tests/phpunit/includes/page/ParserOutputAccessTest.php @@ -345,7 +345,7 @@ class ParserOutputAccessTest extends MediaWikiIntegrationTestCase { $frenchResult = $access->getParserOutput( $page, $frenchOptions ); $this->assertContainsHtml( 'Test', $frenchResult ); - // sanity check that French output was cached + // Check that French output was cached $cachedFrenchOutput = $access->getCachedParserOutput( $page, $frenchOptions ); $this->assertNotNull( $cachedFrenchOutput, 'French output should be in the cache' ); @@ -531,7 +531,7 @@ class ParserOutputAccessTest extends MediaWikiIntegrationTestCase { $frenchResult = $access->getParserOutput( $page, $frenchOptions, $oldRev ); $this->assertContainsHtml( 'Test', $frenchResult ); - // sanity check that French output was cached + // Check that French output was cached $cachedFrenchOutput = $access->getCachedParserOutput( $page, $frenchOptions, $oldRev ); $this->assertNotNull( $cachedFrenchOutput, 'French output should be in the cache' ); diff --git a/tests/phpunit/includes/page/WikiPageDbTest.php b/tests/phpunit/includes/page/WikiPageDbTest.php index f8e08273960e..9ac77ca5ff2b 100644 --- a/tests/phpunit/includes/page/WikiPageDbTest.php +++ b/tests/phpunit/includes/page/WikiPageDbTest.php @@ -916,7 +916,7 @@ class WikiPageDbTest extends MediaWikiLangTestCase { $page = $this->createPage( $title, $text, $model ); - # sanity check, because this test seems to fail for no reason for some people. + # double check, because this test seems to fail for no reason for some people. $c = $page->getContent(); $this->assertEquals( WikitextContent::class, get_class( $c ) ); |