From: Tim Landscheidt Date: Sat, 22 Sep 2012 02:10:56 +0000 (+0000) Subject: Fix broken tests for Xml. X-Git-Tag: 1.31.0-rc.0~22305^2 X-Git-Url: http://git.cyclocoop.org/%24dirpuce/puce%24spip_lang_rtl.gif?a=commitdiff_plain;h=60d119c6e29d7c46f7dfe0761392b99665d0f3d1;p=lhc%2Fweb%2Fwiklou.git Fix broken tests for Xml. Change-Id: Ifd7008269cc960004676ba79449911d63476615c --- diff --git a/tests/phpunit/includes/XmlTest.php b/tests/phpunit/includes/XmlTest.php index 93ed3dc710..562c6878cf 100644 --- a/tests/phpunit/includes/XmlTest.php +++ b/tests/phpunit/includes/XmlTest.php @@ -112,9 +112,6 @@ class XmlTest extends MediaWikiTestCase { $this->assertEquals( '', Xml::closeElement( 'element' ), 'closeElement() shortcut' ); } - /** - * @group Broken - */ public function testDateMenu( ) { $curYear = intval(gmdate('Y')); $prevYear = $curYear - 1; @@ -126,7 +123,7 @@ class XmlTest extends MediaWikiTestCase { if( $nextMonth == 13 ) { $nextMonth = 1; } $this->assertEquals( - '