[Koha-bugs] [Bug 14325] Test calls C4::Context::set_userenv

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Jun 4 00:42:00 CEST 2015


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

--- Comment #2 from Indranil Das Gupta <indradg at gmail.com> ---
Created attachment 39828
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=39828&action=edit
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 at gmail.com>

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


More information about the Koha-bugs mailing list