[Koha-bugs] [Bug 25513] Integer casting in Koha::Object->TO_JSON causes random test failures

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Mon Jun 8 07:51:10 CEST 2020


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

--- Comment #31 from Jonathan Druart <jonathan.druart at bugs.koha-community.org> ---
I confirm I can make it fail 100% of the time on U18, but only occasionally on
D10 (hum?)

On U18 it's failing on the tests we wrote for this specific problem
("Regression tests for bug 25513"), but on D10 it fails on another one:

t/db_dependent/api/v1/acquisitions_orders.t .. 1/5 
    #   Failed test 'SWAGGER3.3.2'
    #   at t/db_dependent/api/v1/acquisitions_orders.t line 129.
    #     Structures begin differing at:
    #          $got->{ecost_tax_included} = '2.7621662673219e+21'
    #     $expected->{ecost_tax_included} = '2762166267321895092224.000000'

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


More information about the Koha-bugs mailing list