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: ch...@bigballofwax.co.nz
          Reporter: julian.maur...@biblibre.com
        QA Contact: testo...@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.
_______________________________________________
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
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