diff options
author | Matthew Somerville <matthew-github@dracos.co.uk> | 2019-02-28 17:35:33 +0000 |
---|---|---|
committer | Matthew Somerville <matthew-github@dracos.co.uk> | 2019-03-04 12:48:46 +0000 |
commit | b19e2585ff03921326b67b303ffdc4879bc6a95d (patch) | |
tree | e76ea8255a4ffed111fd1d2b905eae67a5ba7d2a /t | |
parent | 3ba9f83633c26e427baa82bd8856f407febd248a (diff) |
Default to unchecked for default_show_name.
Diffstat (limited to 't')
-rw-r--r-- | t/app/controller/report_new_text.t | 2 | ||||
-rw-r--r-- | t/app/controller/report_updates.t | 6 |
2 files changed, 4 insertions, 4 deletions
diff --git a/t/app/controller/report_new_text.t b/t/app/controller/report_new_text.t index e6f0a9017..fad7fb6ab 100644 --- a/t/app/controller/report_new_text.t +++ b/t/app/controller/report_new_text.t @@ -324,7 +324,7 @@ subtest "test report creation for a user who is logged in" => sub { { title => '', detail => '', - may_show_name => '1', + may_show_name => undef, name => 'Joe Bloggs', email => 'joe@example.net', photo1 => '', diff --git a/t/app/controller/report_updates.t b/t/app/controller/report_updates.t index 76594a74a..8ff5b4d24 100644 --- a/t/app/controller/report_updates.t +++ b/t/app/controller/report_updates.t @@ -368,7 +368,7 @@ for my $test ( initial_values => { name => '', username => '', - may_show_name => 1, + may_show_name => undef, add_alert => 1, photo1 => '', photo2 => '', @@ -393,7 +393,7 @@ for my $test ( initial_values => { name => '', username => '', - may_show_name => 1, + may_show_name => undef, add_alert => 1, photo1 => '', photo2 => '', @@ -496,7 +496,7 @@ for my $test ( initial_values => { name => '', username => '', - may_show_name => 1, + may_show_name => undef, add_alert => 1, photo1 => '', photo2 => '', |