X-Git-Url: http://git.cyclocoop.org/%7B%24www_url%7Dadmin/membres/fiche.php?a=blobdiff_plain;f=tests%2Fphpunit%2Fincludes%2Fparser%2FParserOutputTest.php;h=390ea415a01fb14ec5989369bfca8486d6104cfb;hb=b53f299af26aa0b14b3cd3cc37ec1126a61cdc62;hp=7091d9c62bdf4538480f93ab2995e3426274970f;hpb=df76e044f554548fe8f7b2e997e3954e440f9826;p=lhc%2Fweb%2Fwiklou.git diff --git a/tests/phpunit/includes/parser/ParserOutputTest.php b/tests/phpunit/includes/parser/ParserOutputTest.php index 7091d9c62b..390ea415a0 100644 --- a/tests/phpunit/includes/parser/ParserOutputTest.php +++ b/tests/phpunit/includes/parser/ParserOutputTest.php @@ -32,6 +32,12 @@ class ParserOutputTest extends MediaWikiLangTestCase { ]; } + public function tearDown() { + MWTimestamp::setFakeTime( false ); + + parent::tearDown(); + } + /** * Test to make sure ParserOutput::isLinkInternal behaves properly * @dataProvider provideIsLinkInternal @@ -143,37 +149,6 @@ class ParserOutputTest extends MediaWikiLangTestCase { $this->assertNotContains( 'class="foo bar"', $text ); } - public function testT203716() { - // simulate extra wrapping from old parser cache - $out = new ParserOutput( '