X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=tests%2Fphpunit%2Fincludes%2FRevisionStorageTest_ContentHandlerUseDB.php;h=4e83e3555ee527fbf01dc99893271a5acd88a2dc;hb=48d1ef13b8cf9f7d43f7e05f7ea5a214f5149fc6;hp=39673c03182ab36061305b3bc39c512d65fbf3df;hpb=6662199c537f94bff71ed4a062ac13d4e7a4538e;p=lhc%2Fweb%2Fwiklou.git diff --git a/tests/phpunit/includes/RevisionStorageTest_ContentHandlerUseDB.php b/tests/phpunit/includes/RevisionStorageTest_ContentHandlerUseDB.php index 39673c0318..4e83e3555e 100644 --- a/tests/phpunit/includes/RevisionStorageTest_ContentHandlerUseDB.php +++ b/tests/phpunit/includes/RevisionStorageTest_ContentHandlerUseDB.php @@ -7,7 +7,7 @@ */ class RevisionTest_ContentHandlerUseDB extends RevisionStorageTest { - function setUp() { + protected function setUp() { $this->setMwGlobals( 'wgContentHandlerUseDB', false ); $dbw = wfGetDB( DB_MASTER ); @@ -63,7 +63,7 @@ class RevisionTest_ContentHandlerUseDB extends RevisionStorageTest { */ public function testGetContentFormat() { try { - //@todo: change this to test failure on using a non-standard (but supported) format + // @todo change this to test failure on using a non-standard (but supported) format // for a content model supported in the given location. As of 1.21, there are // no alternative formats for any of the standard content models that could be // used for this though. @@ -78,5 +78,4 @@ class RevisionTest_ContentHandlerUseDB extends RevisionStorageTest { $this->assertTrue( true ); // ok } } - }