[Koha-bugs] [Bug 20169] New: Two tests are failing with DBD::mysql 4.041

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Feb 9 18:26:46 CET 2018


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

            Bug ID: 20169
           Summary: Two tests are failing with DBD::mysql 4.041
 Change sponsored?: ---
           Product: Koha
           Version: master
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: P5 - low
         Component: Test Suite
          Assignee: chris at bigballofwax.co.nz
          Reporter: julian.maurice at biblibre.com
        QA Contact: testopia at bugs.koha-community.org

Two tests are failing with DBD::mysql 4.041

prove t/db_dependent/Accounts.t t/db_dependent/Bookseller.t

t/db_dependent/Accounts.t .... 17/23
    #   Failed test 'Correct amount logged to statistics'
    #   at t/db_dependent/Accounts.t line 398.
    #          got: '100'
    #     expected: '100.0000'
    # Looks like you failed 1 test of 8.
t/db_dependent/Accounts.t .... 20/23
#   Failed test 'More Koha::Account::pay tests'
#   at t/db_dependent/Accounts.t line 400.

    #   Failed test 'Correct amount logged to statistics'
    #   at t/db_dependent/Accounts.t line 452.
    #          got: '60'
    #     expected: '60.0000'
    # Looks like you failed 1 test of 8.
t/db_dependent/Accounts.t .... 21/23
#   Failed test 'Even more Koha::Account::pay tests'
#   at t/db_dependent/Accounts.t line 454.
t/db_dependent/Accounts.t .... 23/23 # Looks like you failed 2 tests of 23.
t/db_dependent/Accounts.t .... Dubious, test returned 2 (wstat 512, 0x200)
Failed 2/23 subtests
t/db_dependent/Bookseller.t .. 2/86
#   Failed test 'Koha::Acquisition::Booksellers->search returns the right
informations about supplier Name2'
#   at t/db_dependent/Bookseller.t line 120.
#     Structures begin differing at:
#          $got->{discount} = '2'
#     $expected->{discount} = '2.0000'

#   Failed test 'Returns right fields of Supplier1 and Supplier2'
#   at t/db_dependent/Bookseller.t line 133.
#     Structures begin differing at:
#          $got->[0]{discount} = '2'
#     $expected->[0]{discount} = '2.0000'

#   Failed test 'Get Supplier1 (find a bookseller by id)'
#   at t/db_dependent/Bookseller.t line 152.
#     Structures begin differing at:
#          $got->{discount} = '1'
#     $expected->{discount} = '1.0000'
# Looks like you failed 3 tests of 86.
t/db_dependent/Bookseller.t .. Dubious, test returned 3 (wstat 768, 0x300)
Failed 3/86 subtests

Test Summary Report
-------------------
t/db_dependent/Accounts.t  (Wstat: 512 Tests: 23 Failed: 2)
  Failed tests:  20-21
  Non-zero exit status: 2
t/db_dependent/Bookseller.t (Wstat: 768 Tests: 86 Failed: 3)
  Failed tests:  9, 11, 15
  Non-zero exit status: 3
Files=2, Tests=109, 12 wallclock secs ( 0.05 usr  0.01 sys +  4.63 cusr  0.75
csys =  5.44 CPU)
Result: FAIL


Tests pass with DBD::mysql 4.028

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


More information about the Koha-bugs mailing list