aboutsummaryrefslogtreecommitdiffstats
path: root/t/app
diff options
context:
space:
mode:
authorMatthew Somerville <matthew-github@dracos.co.uk>2017-09-06 09:14:54 +0100
committerMatthew Somerville <matthew-github@dracos.co.uk>2017-09-06 09:14:54 +0100
commitfd42c29f4aaa5110f39993511bc6cdeb3ca6dba7 (patch)
treea871d1f021dfafc2e4f6918ffcb0623d562b279d /t/app
parent78dd21a18c6c4e95a267c07eb92f07dbc5b1f48e (diff)
Prevent race condition in root.t test.
This test assumed /reports would load, which it wouldn't if run in parallel and the data hadn't been generated by reports.t. Test a different page instead.
Diffstat (limited to 't/app')
-rw-r--r--t/app/controller/root.t2
1 files changed, 1 insertions, 1 deletions
diff --git a/t/app/controller/root.t b/t/app/controller/root.t
index 413341d89..ddf659b77 100644
--- a/t/app/controller/root.t
+++ b/t/app/controller/root.t
@@ -4,7 +4,7 @@ ok( my $mech = FixMyStreet::TestMech->new, 'Created mech object' );
my @urls = (
"/",
- "/reports",
+ "/contact",
"/about/faq",
"/around?longitude=-1.351488&latitude=51.847235"
);