[Koha-bugs] [Bug 10895] Tests for C4::Items GetHiddenItems

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Nov 8 13:19:53 CET 2013


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=10895

Kyle M Hall <kyle at bywatersolutions.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #22707|0                           |1
        is obsolete|                            |

--- Comment #19 from Kyle M Hall <kyle at bywatersolutions.com> ---
Created attachment 22811
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=22811&action=edit
Bug 10895 - Tests for C4::Items GetHiddenItems

Bug 10589 introduces PatronSingleBranch and PatronEveryBranch
system preferences. This ensures that the visibility of two
dummy records matches expectations. OpacHiddenItems is set
to hide 2 records. The system preferences are then toggled
between four cases ('SPT','SS','','SS|SPT') cross multipled
for the two system preferences to verify the correct visibility.

This will fail for a system with bug 10589 not applied, since
this tests the functionality of that patch. This will fail for a
system with bug 10900 not applied, since the calling convention
for set_userenv was fixed in C4::Context in this patch.

Signed-off-by: Marcel de Rooy <m.de.rooy at rijksmuseum.nl>
Signed-off-by: Kyle M Hall <kyle at bywatersolutions.com>
Passes koha-qa.pl, unit tests pass as well

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list