aboutsummaryrefslogtreecommitdiffstats
path: root/t/app/uri_for.t
diff options
context:
space:
mode:
authorStruan Donald <struan@exo.org.uk>2011-05-26 12:16:15 +0100
committerStruan Donald <struan@exo.org.uk>2011-05-26 12:16:15 +0100
commite8ab66d1ce5d3601ba66f4a27b905ab7e90e2c27 (patch)
tree79203160dbe1ac22bcf4dff5899e39fefc270bf7 /t/app/uri_for.t
parent32409e7f05da1c7f07db4be0b41f7746856156de (diff)
parent45f6e7e798b203df12938c4b06976fa310173093 (diff)
Merge branch 'migrate_to_catalyst' of ssh://git.mysociety.org/data/git/public/fixmystreet into migrate_to_catalyst
Diffstat (limited to 't/app/uri_for.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'
);