[Koha-bugs] [Bug 5911] Transport Cost Matrix of transporting an item between branches

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Mon May 21 17:05:04 CEST 2012


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

Kyle M Hall <kyle.m.hall at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|Needs Signoff               |Failed QA

--- Comment #19 from Kyle M Hall <kyle.m.hall at gmail.com> ---
It looks like your automated test is failing in 2 places.

1..15
ok 1 - use C4::Reserves;
ok 2 - use C4::HoldsQueue;
ok 3 - take from homebranch (don't use cost matrix) pick up branch
ok 4 - take from homebranch (don't use cost matrix) holding branch
ok 5 - take from homebranch ( use cost matrix) pick up branch
ok 6 - take from homebranch ( use cost matrix) holding branch
ok 7 - take from holdingbranch (don't use cost matrix) pick up branch
not ok 8 - take from holdingbranch (don't use cost matrix) holding branch
#   Failed test 'take from holdingbranch (don't use cost matrix) holding
branch'
#   at t/db_dependent/HoldsQueue.t line 149.
#          got: 'CPL'
#     expected: 'MPL'
# Wrong pick-up/hold: $VAR1 = 'MPL';
# $VAR2 = 'MPL';
# $VAR3 = [
#           {
#             'priority' => '1',
#             'reservenotes' => undef,
#             'reservedate' => '2012-05-20',
#             'suspend_until' => undef,
#             'expirationdate' => undef,
#             'found' => undef,
#             'reminderdate' => undef,
#             'timestamp' => '2012-05-21 11:03:12',
#             'biblionumber' => '5',
#             'borrowernumber' => '19',
#             'notificationdate' => undef,
#             'branchcode' => 'MPL',
#             'itemnumber' => undef,
#             'constrainttype' => '',
#             'lowestPriority' => '0',
#             'suspend' => '0',
#             'waitingdate' => undef,
#             'cancellationdate' => undef
#           }
#         ];
# $VAR4 = [
#           {
#             'itemnumber' => '117',
#             'biblionumber' => '5',
#             'source_branchcode' => 'CPL',
#             'borrowernumber' => '19',
#             'item_level_request' => '0'
#           }
#         ];
# $VAR5 = [
#           {
#             'pickbranch' => 'MPL',
#             'firstname' => 'Henry',
#             'itemnumber' => '117',
#             'itemcallnumber' => undef,
#             'reservedate' => '2012-05-20',
#             'barcode' => '463975280138',
#             'phone' => '(212) 555-1212',
#             'item_level_request' => '0',
#             'surname' => 'Acevedo',
#             'holdingbranch' => 'CPL',
#             'biblionumber' => '5',
#             'notes' => undef,
#             'cardnumber' => '23529000035676',
#             'title' => 'Test Holds Queue XXX',
#             'borrowernumber' => '19'
#           }
#         ];
ok 9 - take from holdingbranch ( use cost matrix) pick up branch
not ok 10 - take from holdingbranch ( use cost matrix) holding branch
#   Failed test 'take from holdingbranch ( use cost matrix) holding branch'
#   at t/db_dependent/HoldsQueue.t line 149.
#          got: 'UPL'
#     expected: 'MPL'
# Wrong pick-up/hold: $VAR1 = 'MPL';
# $VAR2 = 'MPL';
# $VAR3 = [
#           {
#             'priority' => '1',
#             'reservenotes' => undef,
#             'reservedate' => '2012-05-20',
#             'suspend_until' => undef,
#             'expirationdate' => undef,
#             'found' => undef,
#             'reminderdate' => undef,
#             'timestamp' => '2012-05-21 11:03:12',
#             'biblionumber' => '5',
#             'borrowernumber' => '19',
#             'notificationdate' => undef,
#             'branchcode' => 'MPL',
#             'itemnumber' => undef,
#             'constrainttype' => '',
#             'lowestPriority' => '0',
#             'suspend' => '0',
#             'waitingdate' => undef,
#             'cancellationdate' => undef
#           }
#         ];
# $VAR4 = [
#           {
#             'itemnumber' => '114',
#             'biblionumber' => '5',
#             'source_branchcode' => 'UPL',
#             'borrowernumber' => '19',
#             'item_level_request' => '0'
#           }
#         ];
# $VAR5 = [
#           {
#             'pickbranch' => 'MPL',
#             'firstname' => 'Henry',
#             'itemnumber' => '114',
#             'itemcallnumber' => undef,
#             'reservedate' => '2012-05-20',
#             'barcode' => '463975280135',
#             'phone' => '(212) 555-1212',
#             'item_level_request' => '0',
#             'surname' => 'Acevedo',
#             'holdingbranch' => 'UPL',
#             'biblionumber' => '5',
#             'notes' => undef,
#             'cardnumber' => '23529000035676',
#             'title' => 'Test Holds Queue XXX',
#             'borrowernumber' => '19'
#           }
#         ];
ok 11 - take from lowest cost branch (don't use cost matrix) pick up branch
ok 12 - take from lowest cost branch (don't use cost matrix) holding branch
ok 13 - take from lowest cost branch ( use cost matrix) pick up branch
ok 14 - take from lowest cost branch ( use cost matrix) holding branch
ok 15 - GetHoldsQueueItems
# Looks like you failed 2 tests of 15.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are watching all bug changes.


More information about the Koha-bugs mailing list