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

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue Sep 16 16:23:14 CEST 2014


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

M. Tompsett <mtompset at hotmail.com> changed:

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

--- Comment #27 from M. Tompsett <mtompset at hotmail.com> ---
Created attachment 31635
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=31635&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