[Koha-bugs] [Bug 10495] New: t/db_dependent/HoldsQueue.t can fail unnecessarily
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Wed Jun 19 19:27:30 CEST 2013
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=10495
Bug ID: 10495
Summary: t/db_dependent/HoldsQueue.t can fail unnecessarily
Classification: Unclassified
Change sponsored?: ---
Product: Koha
Version: master
Hardware: All
OS: All
Status: NEW
Severity: enhancement
Priority: P5 - low
Component: Test Suite
Assignee: gmcharlt at gmail.com
Reporter: gmcharlt at gmail.com
The test case assumes that the AutomaticItemReturn system preference is off
initially; if it starts off on, two of the tests fail:
not ok 4 - take from homebranch (don't use cost matrix) holding branch
# Failed test 'take from homebranch (don't use cost matrix) holding branch'
# at t/db_dependent/HoldsQueue.t line 162.
# got: 'FFL'
# expected: 'CPL'
[snip]
ok 5 - take from homebranch (use cost matrix) pick up branch
not ok 6 - take from homebranch (use cost matrix) holding branch
# Failed test 'take from homebranch (use cost matrix) holding branch'
# at t/db_dependent/HoldsQueue.t line 162.
# got: 'UPL'
# expected: 'CPL'
[snip]
Test Summary Report
-------------------
t/db_dependent/HoldsQueue.t (Wstat: 512 Tests: 18 Failed: 2)
Failed tests: 4, 6
Non-zero exit status: 2
The test case should explicitly turn off the AutomaticItemReturn syspref when
it starts.
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list