diff options
author | Matthew Somerville <matthew@mysociety.org> | 2020-01-23 12:53:27 +0000 |
---|---|---|
committer | Matthew Somerville <matthew@mysociety.org> | 2020-07-31 22:13:41 +0100 |
commit | 1b275ad4e454d772a9874bf3b8aa2506d214a27d (patch) | |
tree | 065e75c317169dd69574b7a4c1f1e844e8d2697b /t/cobrand/zurich.t | |
parent | 8fd5db0cb1e873895564486f32d918de385d2f12 (diff) |
[Zurich] Add button to remove internal flag.
Diffstat (limited to 't/cobrand/zurich.t')
-rw-r--r-- | t/cobrand/zurich.t | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/t/cobrand/zurich.t b/t/cobrand/zurich.t index fb2c08550..cab7a3fef 100644 --- a/t/cobrand/zurich.t +++ b/t/cobrand/zurich.t @@ -800,7 +800,12 @@ subtest 'test no email sent if closed' => sub { $internal->discard_changes; is $internal->state, 'fixed - council'; $mech->email_count_is(0); +}; +subtest 'remove internal flag' => sub { + $mech->submit_form_ok( { form_number => 2, button => 'stop_internal' } ); + $internal->discard_changes; + is $internal->non_public, 0; $internal->delete; $mech->log_out_ok; }; |