diff options
author | Matthew Somerville <matthew-github@dracos.co.uk> | 2017-09-06 09:14:54 +0100 |
---|---|---|
committer | Matthew Somerville <matthew-github@dracos.co.uk> | 2017-09-06 09:14:54 +0100 |
commit | fd42c29f4aaa5110f39993511bc6cdeb3ca6dba7 (patch) | |
tree | a871d1f021dfafc2e4f6918ffcb0623d562b279d | |
parent | 78dd21a18c6c4e95a267c07eb92f07dbc5b1f48e (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.
-rw-r--r-- | t/app/controller/root.t | 2 |
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" ); |