diff options
Diffstat (limited to 't/Page.t')
-rwxr-xr-x | t/Page.t | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -11,7 +11,7 @@ use strict; use warnings; -use Test::More tests => 15; +use Test::More tests => 13; use Test::Exception; use FindBin; @@ -42,8 +42,8 @@ sub test_geocode_string() { # geocode a straightforward string, expect success my ($easting, $northing, $error) = FixMyStreet::Geocode::string('Buckingham Palace', $q); - ok($easting == 529044, 'example easting generated') or diag("Got $easting"); - ok($northing == 179619, 'example northing generated') or diag("Got $northing"); + ok($easting == 529068, 'example easting generated') or diag("Got $easting"); + ok($northing == 179684, 'example northing generated') or diag("Got $northing"); ok(! defined($error), 'should not generate error for simple example') or diag("Got $error"); # expect a failure message for Northern Ireland ($easting, $northing, $error) = FixMyStreet::Geocode::string('Falls Road, Belfast', $q); |