X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=tests%2Fphpunit%2Fincludes%2Fcache%2FMessageCacheTest.php;h=2fa662b88bcb2cef03bdb93736498d6f37e2004c;hb=e3c745fea0c5231cc425a0223c9d4567152171a0;hp=d8330ef57b468ae22217a1eb5e56b8f7a82eea36;hpb=6222d8931fd2593b658aacdcabd9deb01148f5cb;p=lhc%2Fweb%2Fwiklou.git diff --git a/tests/phpunit/includes/cache/MessageCacheTest.php b/tests/phpunit/includes/cache/MessageCacheTest.php index d8330ef57b..2fa662b88b 100644 --- a/tests/phpunit/includes/cache/MessageCacheTest.php +++ b/tests/phpunit/includes/cache/MessageCacheTest.php @@ -223,8 +223,6 @@ class MessageCacheTest extends MediaWikiLangTestCase { /** * Regression test for T218918 - * @group Broken - * @fixme Disabled per https://phabricator.wikimedia.org/T219042 */ public function testLoadFromDB_fetchLatestRevision() { // Create three revisions of the same message page. @@ -239,9 +237,9 @@ class MessageCacheTest extends MediaWikiLangTestCase { $importRevision = new WikiRevision( new HashConfig() ); $importRevision->setTitle( $r3->getTitle() ); $importRevision->setComment( 'Imported edit' ); - $importRevision->setTimestamp( '19991122334455' ); + $importRevision->setTimestamp( '19991122001122' ); $importRevision->setText( 'IMPORTED OLD TEST' ); - $importRevision->setUsername( 'Alan Smithee' ); + $importRevision->setUsername( 'ext>Alan Smithee' ); $importer = MediaWikiServices::getInstance()->getWikiRevisionOldRevisionImporterNoUpdates(); $importer->import( $importRevision );