diff options
Diffstat (limited to 't/app')
-rw-r--r-- | t/app/controller/around.t | 2 | ||||
-rw-r--r-- | t/app/controller/index.t | 6 |
2 files changed, 4 insertions, 4 deletions
diff --git a/t/app/controller/around.t b/t/app/controller/around.t index 0060e957c..ca1694b49 100644 --- a/t/app/controller/around.t +++ b/t/app/controller/around.t @@ -19,7 +19,7 @@ subtest "redirect x,y requests to lat/lon (301 - permanent)" => sub { # did we redirect to lat,lon? is $mech->uri->path, '/around', "still on /around"; is_deeply { $mech->uri->query_form }, - { lat => 51.499825, lon => -0.140137, }, + { lat => 51.499825, lon => -0.140137, zoom => 3 }, "lat,lon correctly set"; # was it a 301? diff --git a/t/app/controller/index.t b/t/app/controller/index.t index be947e344..bf9124ee0 100644 --- a/t/app/controller/index.t +++ b/t/app/controller/index.t @@ -30,15 +30,15 @@ subtest "does pc, (x,y), (e,n) or (lat,lon) go to /around" => sub { }, { in => { lat => 51.50100, lon => -0.14158 }, - out => { lat => 51.50100, lon => -0.14158 }, + out => { lat => 51.50100, lon => -0.14158, zoom => 3 }, }, { in => { x => 3281, y => 1113, }, - out => { lat => 51.499825, lon => -0.140137 }, + out => { lat => 51.499825, lon => -0.140137, zoom => 3 }, }, { in => { e => 1234, n => 4567 }, - out => { lat => 49.808509, lon => -7.544784 }, + out => { lat => 49.808509, lon => -7.544784, zoom => 3 }, }, ) { |