Bug 14878: Tests - Create the branchcodes when needed
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Tue, 22 Sep 2015 16:34:16 +0000 (17:34 +0100)
committerTomas Cohen Arazi <tomascohen@theke.io>
Fri, 6 Nov 2015 18:51:51 +0000 (15:51 -0300)
commit142eb5ed387c2ef65df8a02f9d63bb531067da36
treea2356b9c195b48c07cb8f3bcda3d044a886533ce
parent57d74255498ab428b887bf9022cc3eae6a8b8bf7
Bug 14878: Tests - Create the branchcodes when needed

Tests assume that the branchcodes CPL/MPL/etc. already exist in the DB.
If they need them, they should create them.

Test plan:
Execute the differente test files on a DB without any branchcode or
at least without CPL/MPL branches.
Confirm that the tests pass.

Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
27 files changed:
t/db_dependent/Accounts.t
t/db_dependent/Acquisition/OrderUsers.t
t/db_dependent/Borrower_Debarments.t
t/db_dependent/Borrower_Discharge.t
t/db_dependent/Borrower_Files.t
t/db_dependent/Budgets.t
t/db_dependent/Circulation.t
t/db_dependent/Circulation/IsItemIssued.t
t/db_dependent/Circulation/IssuingRules/maxsuspensiondays.t
t/db_dependent/Circulation/Returns.t
t/db_dependent/Circulation_transfers.t
t/db_dependent/CourseReserves.t
t/db_dependent/Creators/Lib.t
t/db_dependent/Holds/LocalHoldsPriority.t
t/db_dependent/Holds/RevertWaitingStatus.t
t/db_dependent/HoldsQueue.t
t/db_dependent/Items.t
t/db_dependent/Items_DelItem.t
t/db_dependent/Koha_template_plugin_Branches.t
t/db_dependent/Letters.t
t/db_dependent/Members.t
t/db_dependent/Members/AddEnrolmentFeeIfNeeded.t
t/db_dependent/Members_Attributes.t
t/db_dependent/Ratings.t
t/db_dependent/Reserves/GetReserveFee.t
t/db_dependent/Serials_2.t
t/db_dependent/ShelfBrowser.t