http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=10895
Bug ID: 10895
Summary: Tests for C4::Items GetHiddenItems
Change sponsored?: ---
Product: Koha
Version: unspecified
Hardware: All
OS: All
Status: NEW
Severity: enhancement
Priority: P5 - low
Component: Test Suite
Assignee: [email protected]
Reporter: [email protected]
QA Contact: [email protected]
There were no tests for GetHiddenItems, and given that I have been working on
tweaking this function (bug 10589, bug 10872), I thought some test modules
might be in order.
t/db_dependent/GetHiddenItems.t - Generic toggling of OpacHiddenItems system
preference to test if NULL, blank, whitespace, and a rule all work.
t/db_dependent/GetHiddenItems_PatronCategory.t - Setting of OpacHiddenItems,
and then toggling a dummy patron's category code to see if visibility is
correct.
--
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/