diff options
author | Matthew Somerville <matthew-github@dracos.co.uk> | 2019-03-05 15:30:45 +0000 |
---|---|---|
committer | Matthew Somerville <matthew-github@dracos.co.uk> | 2019-03-05 15:30:45 +0000 |
commit | 8b31b0c0361856049a9d603694373e4c512c0193 (patch) | |
tree | 24416fa0f54405adcf56458f5ff2af789ad60f1b /t/app/controller | |
parent | 633ee2b0aa1856fbd9fcb9297c53b02b851c3101 (diff) | |
parent | c029ec15c481cfe153670c735a1d4ca35b3153f9 (diff) |
Merge branch 'report-links-same-domain'
Diffstat (limited to 't/app/controller')
-rw-r--r-- | t/app/controller/report_new.t | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/t/app/controller/report_new.t b/t/app/controller/report_new.t index d50a682cf..d9fae5fbc 100644 --- a/t/app/controller/report_new.t +++ b/t/app/controller/report_new.t @@ -1719,7 +1719,7 @@ subtest "test Hart" => sub { if ( $test->{confirm} ) { is $mech->uri->path, "/report/new"; my $base = 'www.fixmystreet.com'; - $base = "hart.fixmystreet.com" unless $test->{national}; + $base = '"' unless $test->{national}; $mech->content_contains("$base/report/" . $report->id, "links to correct site"); } else { # receive token @@ -1746,7 +1746,7 @@ subtest "test Hart" => sub { }; my $base = 'www.fixmystreet.com'; - $base = 'hart.fixmystreet.com' unless $test->{national}; + $base = '"' unless $test->{national}; $mech->content_contains( $base . '/report/' . $report->id, 'confirm page links to correct site' ); |