]> git.koha-community.org Git - koha.git/commit
Bug 34812: Remove Test::DBIx from Koha.t
authorMarcel de Rooy <m.de.rooy@rijksmuseum.nl>
Sun, 17 Sep 2023 14:56:46 +0000 (14:56 +0000)
committerTomas Cohen Arazi <tomascohen@theke.io>
Mon, 18 Sep 2023 15:06:27 +0000 (12:06 -0300)
commit1acd58896da114efa525df8ca32aea8ee1f36054
treecdd0fbb464ea76873968ad97c176e4379d1e2502
parent3db74c80866cb9252d13885d2cc09566e9c5a22c
Bug 34812: Remove Test::DBIx from Koha.t

The DBIx fixture here is replaced by a simple mock on Libraries.
getFacets only needs the count of libraries.
Feels better than removing all libraries here..

Note: Moved tests at 'root level' to a new subtest.

Test plan:
Run t/Koha.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/Koha.t