]> git.koha-community.org Git - koha.git/commit
Bug 14325: Test calls C4::Context::set_userenv
authorMark Tompsett <mtompset@hotmail.com>
Wed, 3 Jun 2015 19:25:47 +0000 (15:25 -0400)
committerChris Cormack <chris@bigballofwax.co.nz>
Sun, 7 Jun 2015 07:42:02 +0000 (19:42 +1200)
commitfc5cc2353cf707a38d84b50e2a196d4615fcaac5
treef509537f066d51cd5b07212f6c747f6b96eb896c
parent77c9563f1ed1c89266f4308cff165a78782289f6
Bug 14325: Test calls C4::Context::set_userenv

This is a case of works by accident. This patch corrects the
set_userenv call.

TEST PLAN
---------
1) prove t/db_dependent/Borrower_Discharge.t
   -- works
2) git grep :set_userenv
   -- only this one file.
3) Confirm the the C4/Context.pm has a set_userenv
   which shifts the first parameter, as intended for
   a -> call and not a :: call.
4) apply patch
5) prove t/db_dependent/Borrower_Discharge.t
   -- still works
6) git grep :set_userenv
   -- nothing now.
7) run koha qa test tools

Signed-off-by: Indranil Das Gupta (L2C2 Technologies) <indradg@gmail.com>
Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Tomas Cohen Arazi <tomascohen@gmail.com>
(cherry picked from commit 8f12796633e71b9c1e8442cdeba2f7333e71ca52)
Signed-off-by: Chris Cormack <chris@bigballofwax.co.nz>
t/db_dependent/Borrower_Discharge.t