[Koha-bugs] [Bug 32340] New: Several tests failing for t/db_dependent/Reserves.t

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Nov 24 12:34:01 CET 2022


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=32340

            Bug ID: 32340
           Summary: Several tests failing for t/db_dependent/Reserves.t
 Change sponsored?: ---
           Product: Koha
           Version: master
          Hardware: All
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P5 - low
         Component: Test Suite
          Assignee: chris at bigballofwax.co.nz
          Reporter: emmi.takkinen at koha-suomi.fi
        QA Contact: testopia at bugs.koha-community.org

Runnig prove t/db_dependent/Reserves.t gives following results on master:

t/db_dependent/Reserves.t .. 1/77 Failed to load
Koha::Plugin::Fi::KohaSuomi::OKMStats: Could not find or check module
'Koha::Plugin::Fi::KohaSuomi::OKMStats' at /home/emmi/Koha/Koha/Plugins.pm line
124.
t/db_dependent/Reserves.t .. 2/77 No reserves HOLD letter transported by print
at /home/emmi/Koha/C4/Letters.pm line 584.
Could not find a letter called 'HOLD' for print in the 'reserves' module at
/home/emmi/Koha/C4/Reserves.pm line 1915.
No reserves HOLD_CANCELLATION letter transported by email at
/home/emmi/Koha/C4/Letters.pm line 584.
No reserves HOLD letter transported by print at /home/emmi/Koha/C4/Letters.pm
line 584.
Could not find a letter called 'HOLD' for print in the 'reserves' module at
/home/emmi/Koha/C4/Reserves.pm line 1915.

#   Failed test 'patron notified when item set to waiting'
#   at t/db_dependent/Reserves.t line 416.
#          got: '0'
#     expected: '1'

#   Failed test 'patron not notified a second time (bug 11445)'
#   at t/db_dependent/Reserves.t line 421.
#          got: '0'
#     expected: '1'
No circulation HOLD_SLIP letter transported by email at
/home/emmi/Koha/C4/Letters.pm line 584.

#   Failed test 'can successfully generate hold slip (bug 10949)'
#   at t/db_dependent/Reserves.t line 433.
No reserves HOLD letter transported by print at /home/emmi/Koha/C4/Letters.pm
line 584.
Could not find a letter called 'HOLD' for print in the 'reserves' module at
/home/emmi/Koha/C4/Reserves.pm line 1915.
No reserves HOLD letter transported by print at /home/emmi/Koha/C4/Letters.pm
line 584.
Could not find a letter called 'HOLD' for print in the 'reserves' module at
/home/emmi/Koha/C4/Reserves.pm line 1915.
t/db_dependent/Reserves.t .. 41/77 No reserves HOLD letter transported by print
at /home/emmi/Koha/C4/Letters.pm line 584.
Could not find a letter called 'HOLD' for print in the 'reserves' module at
/home/emmi/Koha/C4/Reserves.pm line 1915.
t/db_dependent/Reserves.t .. 69/77 
    #   Failed test 'Item not available for item-level hold because no
effective item type'
    #   at t/db_dependent/Reserves.t line 1469.
    # Looks like you failed 1 test of 2.

#   Failed test 'IsAvailableForItemLevelRequest() tests'
#   at t/db_dependent/Reserves.t line 1475.
t/db_dependent/Reserves.t .. 75/77 # Looks like you failed 4 tests of 77.
t/db_dependent/Reserves.t .. Dubious, test returned 4 (wstat 1024, 0x400)
Failed 4/77 subtests 

Test Summary Report
-------------------
t/db_dependent/Reserves.t (Wstat: 1024 Tests: 77 Failed: 4)
  Failed tests:  26-27, 29, 73
  Non-zero exit status: 4
Files=1, Tests=77,  6 wallclock secs ( 0.03 usr  0.00 sys +  5.23 cusr  0.37
csys =  5.63 CPU)
Result: FAIL

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list