aboutsummaryrefslogtreecommitdiffstats
path: root/t
diff options
context:
space:
mode:
Diffstat (limited to 't')
-rw-r--r--t/app/uri_for.t6
1 files changed, 5 insertions, 1 deletions
diff --git a/t/app/uri_for.t b/t/app/uri_for.t
index 67acbc235..2362e6976 100644
--- a/t/app/uri_for.t
+++ b/t/app/uri_for.t
@@ -3,6 +3,10 @@ use warnings;
use Test::More;
+# FIXME Should this be here? A better way? uri_for varies by map.
+use Test::WWW::Mechanize::Catalyst 'FixMyStreet::App';
+FixMyStreet::Map::set_map_class();
+
# structure of these tests borrowed from '/t/aggregate/unit_core_uri_for.t'
use strict;
@@ -70,7 +74,7 @@ is(
# fiksgatami
is(
$fgm_c->uri_for( '/foo', { lat => 1.23, } ) . "",
- 'http://www.fiksgatami.no/foo?lat=1.23&zoom=2',
+ 'http://www.fiksgatami.no/foo?lat=1.23&zoom=3',
'FiksGataMi url with lat not zoom'
);