diff options
author | Matthew Somerville <matthew-github@dracos.co.uk> | 2016-07-15 12:38:28 +0100 |
---|---|---|
committer | Matthew Somerville <matthew-github@dracos.co.uk> | 2016-07-15 12:38:28 +0100 |
commit | 65545553b5171f1ef1d611ea93c38f138451fb31 (patch) | |
tree | 1e84e9e7d6c2d1882f34b391f8d4467b3a0be31d /t/app | |
parent | fda6671e5f06f2b0e6031958695ac580c4b9d6ec (diff) | |
parent | 34198b1d52dd38c4947a4073eecfe7ffff52afb3 (diff) |
Merge branch '400-editing-category'
Diffstat (limited to 't/app')
-rw-r--r-- | t/app/controller/admin.t | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/t/app/controller/admin.t b/t/app/controller/admin.t index 007948299..d7fcb30e6 100644 --- a/t/app/controller/admin.t +++ b/t/app/controller/admin.t @@ -531,7 +531,7 @@ foreach my $test ( $log_entries->reset; $mech->get_ok("/admin/report_edit/$report_id"); - @{$test->{fields}}{'external_id', 'external_body', 'external_team'} = (13, "", ""); + @{$test->{fields}}{'external_id', 'external_body', 'external_team', 'category'} = (13, "", "", "Other"); is_deeply( $mech->visible_form_values(), $test->{fields}, 'initial form values' ); my $new_fields = { @@ -582,6 +582,7 @@ subtest 'change email to new user' => sub { state => $report->state, name => $report->name, email => $report->user->email, + category => 'Other', anonymous => 1, flagged => 'on', non_public => 'on', |