r91901 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r91900‎ | r91901 | r91902 >
Date:19:02, 11 July 2011
Author:jeroendedauw
Status:deferred
Tags:
Comment:
added test
Modified paths:
  • /trunk/extensions/Maps/test/MapsDistanceParserTest.php (modified) (history)

Diff [purge]

Index: trunk/extensions/Maps/test/MapsDistanceParserTest.php
@@ -163,11 +163,7 @@
164164 * Tests MapsDistanceParser::getUnits()
165165 */
166166 public function testGetUnits() {
167 - // TODO Auto-generated MapsDistanceParserTest::testGetUnits()
168 - $this->markTestIncomplete ( "getUnits test not implemented" );
169 -
170 - MapsDistanceParser::getUnits(/* parameters */);
171 -
 167+ $this->assertEquals( array_keys( $GLOBALS['egMapsDistanceUnits'] ), MapsDistanceParser::getUnits() );
172168 }
173169
174170 }