diff options
author | Matthew Somerville <matthew-github@dracos.co.uk> | 2019-02-01 12:14:12 +0000 |
---|---|---|
committer | Matthew Somerville <matthew-github@dracos.co.uk> | 2019-02-04 18:31:50 +0000 |
commit | 457ce2af2b2e3d1e30ab440011b0c3de112b834b (patch) | |
tree | 4c722f96e4d94929404a20bf8d77555fd6f8582e /t/app/uri_for.t | |
parent | d4c2211cfc5b69f2777039088d91fe423f1c7c29 (diff) |
Improve use of OL ArgParser/missing zoom in URL.
Remove the server-side zoom-in-url fix, instead use an ArgParser
subclass to default to the provided data if nothing in URL. Then
we can switch to using short lat/lon in geocoder URLs.
Diffstat (limited to 't/app/uri_for.t')
-rw-r--r-- | t/app/uri_for.t | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/t/app/uri_for.t b/t/app/uri_for.t index 7d9c8dc07..61713f8b7 100644 --- a/t/app/uri_for.t +++ b/t/app/uri_for.t @@ -13,7 +13,6 @@ use URI; use_ok('FixMyStreet::App'); my $fms_c = ctx_request('http://www.fixmystreet.com/'); -my $fgm_c = ctx_request('http://www.fiksgatami.no/'); is( $fms_c->uri_for('/bar/baz') . "", @@ -33,11 +32,4 @@ is( 'URI with query' ); -# fiksgatami -is( - $fgm_c->uri_for( '/foo', { lat => 1.23, } ) . "", - 'http://www.fiksgatami.no/foo?lat=1.23&zoom=3', - 'FiksGataMi url with lat not zoom' -); - done_testing(); |