[Koha-bugs] [Bug 10895] New: Tests for C4::Items GetHiddenItems
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Mon Sep 16 19:18:38 CEST 2013
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: gmcharlt at gmail.com
Reporter: mtompset at hotmail.com
QA Contact: testopia at bugs.koha-community.org
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.
More information about the Koha-bugs
mailing list