Bug 16411: Make Hold.t not depend on two existing branches
authorMarcel de Rooy <m.de.rooy@rijksmuseum.nl>
Mon, 2 May 2016 08:06:05 +0000 (10:06 +0200)
committerBrendan Gallagher <bredan@bywatersolutions.com>
Thu, 5 May 2016 18:26:56 +0000 (18:26 +0000)
commitaec623576235e8a8253ee8691df05880a663eb82
tree10d4fcfbb494bfc99ee3d24a65130afa5d2cf096
parent640b9585f82ff898bebcebd01efab81bca311588
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>
Signed-off-by: Brendan Gallagher <bredan@bywatersolutions.com>
t/db_dependent/Hold.t