Bug 30418: Fix t/Koha/Auth/Permissions.t

koha_1       |     #   Failed test 'Expected permissions generated for superlibrarian'
koha_1       |     #   at t/Koha/Auth/Permissions.t line 283.
koha_1       |     #     Structures begin differing at:
koha_1       |     #          $got->{CAN_user_lists_edit_public_list_contents} = '1'
koha_1       |     #     $expected->{CAN_user_lists_edit_public_list_contents} = Does not exist
koha_1       |     # Looks like you failed 1 test of 1.
koha_1       |
koha_1       | #   Failed test 'superlibrarian tests'
koha_1       | #   at t/Koha/Auth/Permissions.t line 284.
koha_1       | # Looks like you failed 1 test of 3.
koha_1       | [23:34:42] t/Koha/Auth/Permissions.t

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
This commit is contained in:
Jonathan Druart 2023-05-16 09:55:28 +02:00
parent bb796fcf2e
commit 9b0deefe5e

View file

@ -162,6 +162,7 @@ subtest 'superlibrarian tests' => sub {
'CAN_user_ill' => 1,
'CAN_user_lists_delete_public_lists' => 1,
'CAN_user_lists_edit_public_lists' => 1,
'CAN_user_lists_edit_public_list_contents' => 1,
'CAN_user_lists' => 1,
'CAN_user_parameters_manage_accounts' => 1,
'CAN_user_parameters_manage_additional_fields' => 1,