diff options
author | Matthew Somerville <matthew-github@dracos.co.uk> | 2017-07-07 22:28:21 +0100 |
---|---|---|
committer | Matthew Somerville <matthew-github@dracos.co.uk> | 2017-07-14 14:22:24 +0100 |
commit | 6f23d7b44ddc2556897e920cb88a3c81357605bf (patch) | |
tree | 48be64c12f96048a5df42888f34b0ada91d98a69 /t/app/controller/report_display.t | |
parent | 863e8b2d548d95b89da068bd3361ce8131f77f55 (diff) |
Allow static home page template override.
If an /about/homepage.html template exists in your cobrand, it
will be used as the front page, and the normal front page will
be available at /report.
Diffstat (limited to 't/app/controller/report_display.t')
-rw-r--r-- | t/app/controller/report_display.t | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/t/app/controller/report_display.t b/t/app/controller/report_display.t index bcdf612be..093ea9cf8 100644 --- a/t/app/controller/report_display.t +++ b/t/app/controller/report_display.t @@ -35,11 +35,6 @@ subtest "check that no id redirects to homepage" => sub { is $mech->uri->path, '/', "at home page"; }; -subtest "test id=NNN redirects to /NNN" => sub { - $mech->get_ok("/report?id=$report_id"); - is $mech->uri->path, "/report/$report_id", "at /report/$report_id"; -}; - subtest "test bad council email clients web links" => sub { $mech->get_ok("/report/3D$report_id"); is $mech->uri->path, "/report/$report_id", "at /report/$report_id"; |