https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=17917

--- Comment #1 from M. Tompsett <mtomp...@hotmail.com> ---
Created attachment 59026
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=59026&action=edit
Bug 17917: Fix Jenkins tests failing on C4::Member.

C4/Members.pm line 502 references:
C4::Context->userenv->{'branch'}.
As the tests are not logged in userenv is not defined, and triggers test
failures.
This patches it by giving a reasonable branch value.

Test Plan
---------
1) prove t/Members/cardnumber.t
   -- fails
2) apply patch
3) prove t/Members/cardnumber.t
   -- passes
4) run koha qa test tools

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to