[Koha-bugs] [Bug 14878] Tests - Create the branchcodes if needed
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Tue Sep 22 18:43:30 CEST 2015
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14878
--- Comment #1 from Jonathan Druart <jonathan.druart at bugs.koha-community.org> ---
Created attachment 42795
-->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=42795&action=edit
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.
Note for QA:
- Not to conflict the list rewrite, this patch don't update
VirtualShelves* files.
- I am not sure about the changes in t/db_dependent/HoldsQueue.t:
+is( $holds_queue->[0]->{cardnumber}, $borrower2->{cardnumber}, "Holds
queue filling 1st correct hold for default holds policy 'from home
library'");
+is( $holds_queue->[1]->{cardnumber}, $borrower1->{cardnumber}, "Holds
queue filling 2nd correct hold for default holds policy 'from home
library'");
I have swapped borrower1/borrower2 to make the tests pass, but I
didn't understand why...
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list