]> git.koha-community.org Git - koha.git/commit
bug 2394: regression test for canreservefromotherbranches
authorGalen Charlton <gmc@esilibrary.com>
Fri, 9 Aug 2013 17:40:54 +0000 (17:40 +0000)
committerGalen Charlton <gmc@esilibrary.com>
Fri, 9 Aug 2013 17:44:17 +0000 (17:44 +0000)
commit23e302071efabd824f0a6c69bc68dee4cfc13e5b
tree15de675b1967985679798fe41ba778f01438db2f
parent950906207237d8056e9f8b775e1d52223a757729
bug 2394: regression test for canreservefromotherbranches

If IndependentBranches is ON and canreservefromotherbranches is OFF,
a patron is not permittedo to request an item whose homebranch (i.e.,
owner of the item) is different from the patron's own library.
However, if canreservefromotherbranches is turned ON, the patron can
create such hold requests.

Note that canreservefromotherbranches has no effect if
IndependentBranches is OFF.

To test, run prove -v t/db_dependent/Holds.t.  Without the bugfix
patch for bug 2394, the last two tests should fail.

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
t/db_dependent/Holds.t