diff options
author | Matthew Somerville <matthew@mysociety.org> | 2011-06-13 14:55:44 +0100 |
---|---|---|
committer | Matthew Somerville <matthew@mysociety.org> | 2011-06-13 14:55:44 +0100 |
commit | 75c00e4a2ad9ceeed894a89032bb2d9b160caf10 (patch) | |
tree | 3a2a93ddc0cca952a937c72cb1a019202687a2c0 /t/app | |
parent | 2d1bf8628d921f1794415eb8671cdcd8bfee7c58 (diff) |
Fix tests.
Diffstat (limited to 't/app')
-rw-r--r-- | t/app/controller/around.t | 2 | ||||
-rw-r--r-- | t/app/controller/index.t | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/t/app/controller/around.t b/t/app/controller/around.t index 33c959b48..ba0dfe1b4 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.4998246332569, lon => -0.140137309739907, }, + { lat => 51.499825, lon => -0.140137, }, "lat,lon correctly set"; # was it a 301? diff --git a/t/app/controller/index.t b/t/app/controller/index.t index cebeaf676..be947e344 100644 --- a/t/app/controller/index.t +++ b/t/app/controller/index.t @@ -33,8 +33,8 @@ subtest "does pc, (x,y), (e,n) or (lat,lon) go to /around" => sub { out => { lat => 51.50100, lon => -0.14158 }, }, { - in => { x => 3281, y => 1113, }, - out => { lat => 51.4998246332569, lon => -0.140137309739907 }, + in => { x => 3281, y => 1113, }, + out => { lat => 51.499825, lon => -0.140137 }, }, { in => { e => 1234, n => 4567 }, |