[Koha-bugs] [Bug 16411] Make Hold.t not depend on two existing branches

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Mon May 2 14:08:35 CEST 2016


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

Marc Véron <veron at veron.ch> changed:

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

--- Comment #2 from Marc Véron <veron at veron.ch> ---
Created attachment 51094
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=51094&action=edit
Bug 16411: Make Hold.t not depend on two existing branches

If you do not have two branches, this test will fail.
Can't call method "branchcode" on an undefined value.

This patch adds a borrower and two branches with TestBuilder.

Test plan:
Run the test.

Signed-off-by: Marc Véron <veron at veron.ch>

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


More information about the Koha-bugs mailing list