Browse Source

Bug 13419: (follow-up) fix call to set_userenv

Signed-off-by: Tomas Cohen Arazi <tomascohen@gmail.com>
3.20.x
Jonathan Druart 7 years ago
committed by Tomas Cohen Arazi
parent
commit
46fbcaadf1
  1. 2
      t/db_dependent/Utils/Datatables_Virtualshelves.t

2
t/db_dependent/Utils/Datatables_Virtualshelves.t

@ -175,7 +175,7 @@ my %dt_params = (
my $search_results;
C4::Context->_new_userenv ('DUMMY_SESSION_ID');
C4::Context::set_userenv($john_doe{borrowernumber}, $john_doe{userid}, 'usercnum', 'First name', 'Surname', 'MYLIBRARY', 'My Library', 0);
C4::Context->set_userenv($john_doe{borrowernumber}, $john_doe{userid}, 'usercnum', 'First name', 'Surname', 'MYLIBRARY', 'My Library', 0);
# Search private lists by title
$search_results = C4::Utils::DataTables::VirtualShelves::search({

Loading…
Cancel
Save