[Koha-bugs] [Bug 24417] Charges/Fees.t is failing randomly
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Fri Jun 12 14:57:59 CEST 2020
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=24417
--- Comment #5 from Jonathan Druart <jonathan.druart at bugs.koha-community.org> ---
(In reply to Victor Grousset/tuxayo from comment #3)
> Was able to get a failure locally with koha-testing-docker with
> KOHA_IMAGE=19.05-stretch.
> Not sure if it's the same issue though.
>
> t/db_dependent/Koha/Charges/Fees.t .. 1/8
> # Failed test 'from_date default set correctly to today'
> # at t/db_dependent/Koha/Charges/Fees.t line 199.
> # got: '2020-06-12T05:05:16'
> # expected: '2020-06-12T05:05:17'
> # Looks like you failed 1 test of 9.
> t/db_dependent/Koha/Charges/Fees.t .. 2/8
> # Failed test 'new'
> # at t/db_dependent/Koha/Charges/Fees.t line 201.
> # Looks like you failed 1 test of 8.
> t/db_dependent/Koha/Charges/Fees.t .. Dubious, test returned 1 (wstat 256,
> 0x100)
> Failed 1/8 subtests
This is something different.
201 is( $fees->from_date, dt_from_string(),
202 'from_date default set correctly to today' );
It can be fixed using t::lib::Dates::compare
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list