]> git.koha-community.org Git - koha.git/commit
Bug 11587 - IsSuperLibrarian generates warnings (UT)
authorMark Tompsett <mtompset@hotmail.com>
Tue, 21 Jan 2014 05:34:43 +0000 (00:34 -0500)
committerFridolin Somers <fridolin.somers@biblibre.com>
Thu, 7 Aug 2014 08:04:44 +0000 (10:04 +0200)
commite9154d0b0e39504cd5f01be400ab1aae58424c64
treeaf7e80271fb4037d0188b1e46a5b551a5383173e
parent942271cd9ca306ff7b25c75eea9f815b079a0947
Bug 11587 - IsSuperLibrarian generates warnings (UT)

Simply viewing OPAC detail triggers a modulus warning entry.
This first patch adds two test cases to t/Context.t to test for
this situation.

TEST PLAN
---------
1) Apply this patch (to upgrade t/Context.t)
2) prove -v t/Context.t
-- Tests 7 and 8 will fail
3) Apply main patch (to amend C4/Context.pm)
4) prove -v t/Context.t
-- All tests will succeed

Signed-off-by: Chris Cormack <chris@bigballofwax.co.nz>
Signed-off-by: Jonathan Druart <jonathan.druart@biblibre.com>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
(cherry picked from commit 8ee0bc049a183e795fc37608a4b3790d4aef2267)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
Conflicts:
t/Context.t
t/Context.t