aboutsummaryrefslogtreecommitdiffstats
path: root/t/geocode
diff options
context:
space:
mode:
authorMatthew Somerville <matthew@mysociety.org>2019-09-19 20:27:46 +0100
committerMatthew Somerville <matthew@mysociety.org>2019-09-19 20:27:46 +0100
commit9d12ecc52d5a3413b12d3781349e228026e79f5e (patch)
treeb3fdabfa42cf0c7264f5ecb29ccb6a8637fb0107 /t/geocode
parent645c0663c4c7ce2d2d240858ed06446efe8ad328 (diff)
parentfa879675558632ae54b32a10707397a01edc362d (diff)
Merge branch 'bexley-map-tiles'
Diffstat (limited to 't/geocode')
-rw-r--r--t/geocode/google.t4
1 files changed, 2 insertions, 2 deletions
diff --git a/t/geocode/google.t b/t/geocode/google.t
index ee3c15ea8..40e8caf9a 100644
--- a/t/geocode/google.t
+++ b/t/geocode/google.t
@@ -11,12 +11,12 @@ use Catalyst::Test 'FixMyStreet::App';
use t::Mock::GoogleGeocoder;
my $c = ctx_request('/');
-my $r = FixMyStreet::Geocode::Google::string("one result", $c);
+my $r = FixMyStreet::Geocode::Google->string("one result", $c);
ok $r->{latitude};
ok $r->{longitude};
$c->stash->{cobrand} = FixMyStreet::Cobrand::Tester->new;
-$r = FixMyStreet::Geocode::Google::string("two results", $c);
+$r = FixMyStreet::Geocode::Google->string("two results", $c);
is scalar @{$r->{error}}, 2;
done_testing;