diff options
author | Matthew Somerville <matthew@mysociety.org> | 2019-09-19 20:27:46 +0100 |
---|---|---|
committer | Matthew Somerville <matthew@mysociety.org> | 2019-09-19 20:27:46 +0100 |
commit | 9d12ecc52d5a3413b12d3781349e228026e79f5e (patch) | |
tree | b3fdabfa42cf0c7264f5ecb29ccb6a8637fb0107 /t/geocode | |
parent | 645c0663c4c7ce2d2d240858ed06446efe8ad328 (diff) | |
parent | fa879675558632ae54b32a10707397a01edc362d (diff) |
Merge branch 'bexley-map-tiles'
Diffstat (limited to 't/geocode')
-rw-r--r-- | t/geocode/google.t | 4 |
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; |