aboutsummaryrefslogtreecommitdiffstats
path: root/t/cobrand/zurich.t
diff options
context:
space:
mode:
authorMatthew Somerville <matthew@mysociety.org>2020-01-23 12:53:27 +0000
committerMatthew Somerville <matthew@mysociety.org>2020-07-31 22:13:41 +0100
commit1b275ad4e454d772a9874bf3b8aa2506d214a27d (patch)
tree065e75c317169dd69574b7a4c1f1e844e8d2697b /t/cobrand/zurich.t
parent8fd5db0cb1e873895564486f32d918de385d2f12 (diff)
[Zurich] Add button to remove internal flag.
Diffstat (limited to 't/cobrand/zurich.t')
-rw-r--r--t/cobrand/zurich.t5
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;
};