diff options
author | Matthew Somerville <matthew-github@dracos.co.uk> | 2019-03-27 17:52:30 +0000 |
---|---|---|
committer | Matthew Somerville <matthew-github@dracos.co.uk> | 2019-03-27 17:52:30 +0000 |
commit | 251f152b46816ed1c8401cda7f57305d08830af1 (patch) | |
tree | 3c46e9960b113869e757b011ecfdbcbdef5ff3ad /t/app/controller | |
parent | 48c807b87f81ba89732d36b4459a4ca5bd4933ef (diff) | |
parent | ae88108b6a176744fef215093bcec835b323e5e6 (diff) |
Merge branch 'issues/commercial/1273-ref-number-com'
Diffstat (limited to 't/app/controller')
-rw-r--r-- | t/app/controller/report_as_other.t | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/t/app/controller/report_as_other.t b/t/app/controller/report_as_other.t index f256374a8..9ed46190b 100644 --- a/t/app/controller/report_as_other.t +++ b/t/app/controller/report_as_other.t @@ -123,7 +123,7 @@ subtest "Body user, has permission to add report as another (existing) user with my $send_confirmation_mail_override = Sub::Override->new( "FixMyStreet::Cobrand::Default::report_sent_confirmation_email", - sub { return 1; } + sub { return 'external_id'; } ); FixMyStreet::Script::Reports::send(); $mech->email_count_is(2); @@ -168,7 +168,7 @@ subtest "Body user, has permission to add report as anonymous user" => sub { my $send_confirmation_mail_override = Sub::Override->new( "FixMyStreet::Cobrand::Default::report_sent_confirmation_email", - sub { return 1; } + sub { return 'external_id'; } ); FixMyStreet::Script::Reports::send(); |