Index: trunk/extensions/Maps/test/MapsCoordinateParserTest.php |
— | — | @@ -200,7 +200,7 @@ |
201 | 201 | $this->assertFalse( MapsCoordinateParser::areFloatCoordinates( $coord ), "$coord was recognized as dms." ); |
202 | 202 | } |
203 | 203 | foreach( self::$coordinates['dms'] as $coord ) { |
204 | | - $this->assertEquals( Maps_COORDS_FLOAT, MapsCoordinateParser::getCoordinatesType( $coord ), "$coord not recognized as dms." ); |
| 204 | + $this->assertEquals( Maps_COORDS_DMS, MapsCoordinateParser::getCoordinatesType( $coord ), "$coord not recognized as dms." ); |
205 | 205 | } |
206 | 206 | } |
207 | 207 | |
— | — | @@ -212,7 +212,7 @@ |
213 | 213 | $this->assertFalse( MapsCoordinateParser::areFloatCoordinates( $coord ), "$coord was recognized as dd." ); |
214 | 214 | } |
215 | 215 | foreach( self::$coordinates['dd'] as $coord ) { |
216 | | - $this->assertEquals( Maps_COORDS_FLOAT, MapsCoordinateParser::getCoordinatesType( $coord ), "$coord not recognized as dd." ); |
| 216 | + $this->assertEquals( Maps_COORDS_DD, MapsCoordinateParser::getCoordinatesType( $coord ), "$coord not recognized as dd." ); |
217 | 217 | } |
218 | 218 | } |
219 | 219 | |
— | — | @@ -224,7 +224,7 @@ |
225 | 225 | $this->assertFalse( MapsCoordinateParser::areFloatCoordinates( $coord ), "$coord was recognized as dm." ); |
226 | 226 | } |
227 | 227 | foreach( self::$coordinates['dm'] as $coord ) { |
228 | | - $this->assertEquals( Maps_COORDS_FLOAT, MapsCoordinateParser::getCoordinatesType( $coord ), "$coord not recognized as dm." ); |
| 228 | + $this->assertEquals( Maps_COORDS_DM, MapsCoordinateParser::getCoordinatesType( $coord ), "$coord not recognized as dm." ); |
229 | 229 | } |
230 | 230 | } |
231 | 231 | |