http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14878

--- Comment #1 from Jonathan Druart <[email protected]> 
---
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.
_______________________________________________
Koha-bugs mailing list
[email protected]
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to