aboutsummaryrefslogtreecommitdiffstats
path: root/t
diff options
context:
space:
mode:
Diffstat (limited to 't')
-rw-r--r--t/app/controller/around.t4
-rw-r--r--t/app/controller/report_import.t4
-rw-r--r--t/cobrand/zurich.t10
3 files changed, 9 insertions, 9 deletions
diff --git a/t/app/controller/around.t b/t/app/controller/around.t
index cbb110a1a..892231ef1 100644
--- a/t/app/controller/around.t
+++ b/t/app/controller/around.t
@@ -67,8 +67,8 @@ foreach my $test (
foreach my $test (
{
pc => 'SW1A 1AA',
- latitude => '51.50101',
- longitude => '-0.141587',
+ latitude => '51.501009',
+ longitude => '-0.141588',
},
{
pc => 'TQ 388 773',
diff --git a/t/app/controller/report_import.t b/t/app/controller/report_import.t
index a6ccc9604..226efdd84 100644
--- a/t/app/controller/report_import.t
+++ b/t/app/controller/report_import.t
@@ -147,8 +147,8 @@ subtest "Submit a correct entry" => sub {
# Check photo present, and still there after map submission (testing bug #18)
$mech->content_contains( '<img align="right" src="/photo/' );
- $mech->content_contains('latitude" value="51.50101"', 'Check latitude');
- $mech->content_contains('longitude" value="-0.141587"', 'Check longitude');
+ $mech->content_contains('latitude" value="51.501009"', 'Check latitude');
+ $mech->content_contains('longitude" value="-0.141588"', 'Check longitude');
FixMyStreet::override_config {
ALLOWED_COBRANDS => [ { 'fixmystreet' => '.' } ],
MAPIT_URL => 'http://mapit.mysociety.org/',
diff --git a/t/cobrand/zurich.t b/t/cobrand/zurich.t
index 16c0b77f8..e8cf3bee3 100644
--- a/t/cobrand/zurich.t
+++ b/t/cobrand/zurich.t
@@ -680,8 +680,8 @@ subtest "test admin_log" => sub {
is $entries[-1]->action, 'state change to hidden', 'State change logged as expected';
};
-cleanup();
-
-ok $mech->host("www.fixmystreet.com"), "change host back";
-
-done_testing();
+END {
+ cleanup();
+ ok $mech->host("www.fixmystreet.com"), "change host back";
+ done_testing();
+}