If you do not have two branches, this test will fail. Can't call method "branchcode" on an undefined value at t/db_dependent/Hold.t line 60.
Created attachment 51071 [details] [review] 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.
Created attachment 51094 [details] [review] 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@veron.ch>
Created attachment 51192 [details] [review] 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@veron.ch> Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
Pushed to Master - Should be in the May 2016 release. Thanks!