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: [email protected]
          Reporter: [email protected]

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.
_______________________________________________
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