[Koha-bugs] [Bug 34812] Remove Test::DBIx::Class from Koha.t
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Mon Sep 18 12:47:52 CEST 2023
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=34812
Martin Renvoize <martin.renvoize at ptfs-europe.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #155778|0 |1
is obsolete| |
--- Comment #4 from Martin Renvoize <martin.renvoize at ptfs-europe.com> ---
Created attachment 155796
-->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=155796&action=edit
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 at rijksmuseum.nl>
Signed-off-by: Martin Renvoize <martin.renvoize at ptfs-europe.com>
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list