[Koha-bugs] [Bug 23234] New: Circulation.t failing on June 28th 2019

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Jun 28 20:03:39 CEST 2019


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

            Bug ID: 23234
           Summary: Circulation.t failing on June 28th 2019
 Change sponsored?: ---
           Product: Koha
           Version: unspecified
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: P5 - low
         Component: Test Suite
          Assignee: chris at bigballofwax.co.nz
          Reporter: jonathan.druart at bugs.koha-community.org
        QA Contact: testopia at bugs.koha-community.org

Not sure what is behind this.

kohadev-koha at kohadevbox:/home/vagrant/kohaclone$ date
Fri Jun 28 13:02:16 -05 2019

kohadev-koha at kohadevbox:/home/vagrant/kohaclone$ prove
t/db_dependent/Circulation.t

        #   Failed test 'Cannot auto renew, too late - no_auto_renewal_after is
inclusive(returned code is auto_too_late)'
        #   at t/db_dependent/Circulation.t line 691.
        #          got: 'auto_too_soon'
        #     expected: 'auto_too_late'
        # Looks like you failed 1 test of 14.

    #   Failed test 'too_late_renewal / no_auto_renewal_after'
    #   at t/db_dependent/Circulation.t line 722.

        #   Failed test 'GetLatestAutoRenewDate should return -5 days if
no_auto_renewal_after = 5 and date_due is 10 days before'
        #   at t/db_dependent/Circulation.t line 862.
        #          got: '2019-06-23T18:01:00'
        #     expected: '2019-06-23T18:01:00'

        #   Failed test 'GetLatestAutoRenewDate should return +5 days if
no_auto_renewal_after = 15 and date_due is 10 days before'
        #   at t/db_dependent/Circulation.t line 869.
        #          got: '2019-07-03T18:01:00'
        #     expected: '2019-07-03T18:01:00'

        #   Failed test 'GetLatestAutoRenewDate should return +2 days if
no_auto_renewal_after_hard_limit is defined and not no_auto_renewal_after'
        #   at t/db_dependent/Circulation.t line 876.
        #          got: '2019-06-30T00:00:00'
        #     expected: '2019-06-30T00:00:00'

        #   Failed test 'GetLatestAutoRenewDate should return +2 days if
no_auto_renewal_after_hard_limit is < no_auto_renewal_after'
        #   at t/db_dependent/Circulation.t line 882.
        #          got: '2019-06-30T00:00:00'
        #     expected: '2019-06-30T00:00:00'
        # Looks like you failed 4 tests of 5.

    #   Failed test 'GetLatestAutoRenewDate'
    #   at t/db_dependent/Circulation.t line 887.
    # Looks like you failed 2 tests of 71.

#   Failed test 'CanBookBeRenewed tests'
#   at t/db_dependent/Circulation.t line 998.

    #   Failed test 'AddReturn must have debarred the patron'
    #   at t/db_dependent/Circulation.t line 86.
    #          got: ''
    #     expected: '1'
    # AddReturn returned message $VAR1 = {
    #           'WasReturned' => 1
    #         };

    #   Failed test 'Test at line 1967'
    #   at t/db_dependent/Circulation.t line 90.
    #          got: '0'
    #     expected: '1'

    #   Failed test 'Test at line 1967'
    #   at t/db_dependent/Circulation.t line 93.
    #          got: undef
    #     expected: '2019-07-12'
    # Looks like you failed 3 tests of 21.

#   Failed test 'AddReturn + suspension_chargeperiod'
#   at t/db_dependent/Circulation.t line 1976.
# Looks like you failed 2 tests of 45.
t/db_dependent/Circulation.t .. 
Dubious, test returned 2 (wstat 512, 0x200)
Failed 2/45 subtests 

Test Summary Report
-------------------
t/db_dependent/Circulation.t (Wstat: 512 Tests: 45 Failed: 2)
  Failed tests:  15, 29
  Non-zero exit status: 2
Files=1, Tests=45, 27 wallclock secs ( 0.08 usr  0.01 sys + 19.81 cusr  4.37
csys = 24.27 CPU)
Result: FAIL

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


More information about the Koha-bugs mailing list