Bug 11889: (QA follow-up) Fix tests
authorMarcel de Rooy <m.de.rooy@rijksmuseum.nl>
Wed, 8 Jun 2022 14:35:31 +0000 (14:35 +0000)
committerTomas Cohen Arazi <tomascohen@theke.io>
Tue, 19 Jul 2022 14:00:16 +0000 (11:00 -0300)
commit1d1432cfb5ff5e8cae6443a7ce4095eeec18e787
tree4cff2cae414ae465306d62bb3cbd357e889c30b5
parent2eac11c24dbe8a4633cb82245ad0d388922faede
Bug 11889: (QA follow-up) Fix tests

We need some changes for 28959 changing category to public.
Added the userenv mocking.

Note: A follow-up does a bit more refactoring here. But they
should pass at least now.

Test plan:
Run t/db_dependent/Virtualshelves.t
Run t/db_dependent/Koha/Patrons.t

Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
t/db_dependent/Koha/Patrons.t
t/db_dependent/Virtualshelves.t