[Koha-bugs] [Bug 21467] Allow several receipts for a given subscription

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Nov 1 13:38:54 CET 2018


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

--- Comment #34 from Katrin Fischer <katrin.fischer at bsz-bw.de> ---
QA tools are green, but there is a problem with the tests. I will continue
testing, hoping for a quick follow-up:

kohadev-koha at kohadevbox:/home/vagrant/kohaclone$ prove
t/db_dependent/Acquisition.t
t/db_dependent/Acquisition.t .. 70/71 DBD::mysql::db do failed: Out of range
value for column 'tax_value_on_ordering' at row 1 [for Statement "
            UPDATE aqorders
            SET
                tax_value_on_ordering = quantity * ecost_tax_excluded *
tax_rate_on_ordering,
                tax_value_on_receiving = quantity * unitprice_tax_excluded *
tax_rate_on_receiving
            WHERE ordernumber = ?
        "] at /home/vagrant/kohaclone/C4/Acquisition.pm line 1484.
    # No tests run!
t/db_dependent/Acquisition.t .. 71/71 
#   Failed test 'No tests run for subtest "ModReceiveOrder and subscription"'
#   at t/db_dependent/Acquisition.t line 748.
DBD::mysql::db do failed: Out of range value for column 'tax_value_on_ordering'
at row 1 [for Statement "
            UPDATE aqorders
            SET
                tax_value_on_ordering = quantity * ecost_tax_excluded *
tax_rate_on_ordering,
                tax_value_on_receiving = quantity * unitprice_tax_excluded *
tax_rate_on_receiving
            WHERE ordernumber = ?
        "] at /home/vagrant/kohaclone/C4/Acquisition.pm line 1484.
# Looks like your test exited with 255 just after 71.
t/db_dependent/Acquisition.t .. Dubious, test returned 255 (wstat 65280,
0xff00)
Failed 1/71 subtests 

Test Summary Report
-------------------
t/db_dependent/Acquisition.t (Wstat: 65280 Tests: 71 Failed: 1)
  Failed test:  71
  Non-zero exit status: 255

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


More information about the Koha-bugs mailing list