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

M. Tompsett <mtomp...@hotmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #59026|0                           |1
        is obsolete|                            |

--- Comment #2 from M. Tompsett <mtomp...@hotmail.com> ---
Created attachment 59027
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=59027&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/db_dependent/Holds.t
   -- fails
2) apply patch
3) prove t/db_dependent/Holds.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