From 60d119c6e29d7c46f7dfe0761392b99665d0f3d1 Mon Sep 17 00:00:00 2001 From: Tim Landscheidt Date: Sat, 22 Sep 2012 02:10:56 +0000 Subject: [PATCH] Fix broken tests for Xml. Change-Id: Ifd7008269cc960004676ba79449911d63476615c --- tests/phpunit/includes/XmlTest.php | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) 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( - '