]> git.koha-community.org Git - koha.git/commit
Bug 14733: (QA followup) make tests independent of already defined branches
authorTomas Cohen Arazi <tomascohen@theke.io>
Fri, 25 Sep 2015 14:47:23 +0000 (11:47 -0300)
committerTomas Cohen Arazi <tomascohen@theke.io>
Fri, 25 Sep 2015 14:47:25 +0000 (11:47 -0300)
commitbd021d21035fa25f1732946e0f0a291400ee1c56
treeb2b725b03e33ff83fea42a019f8be1893c8b1d1f
parent8ef69e473b1f1a0daac559bf19818fd04b2c5313
Bug 14733: (QA followup) make tests independent of already defined branches

The current tests were expecting the first defined branch to be CPL. That's
not the case on my box so they failed. This patch adds the creation of two
new random branches/branchcodes, and replaces the legacy use of CPL and MPL
in favour of the new ones.
It relies on TestBuilder for the task.

Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
t/db_dependent/Holds.t