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

--- Comment #1 from Jonathan Druart <[email protected]> ---
Created attachment 174966
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=174966&action=edit
Bug 38526: (bug 36822 follow-up): Improve datetime comparison in tests

17:39:54 koha_1       |     #   Failed test 'updated_on correctly saved on
newly created user'
17:39:54 koha_1       |     #   at t/db_dependent/Auth_with_shibboleth.t line
319.
17:39:54 koha_1       |     #     Structures begin differing at:
17:39:54 koha_1       |     #          $got->[0] = '2024-11-19 16:39:30'
17:39:54 koha_1       |     #     $expected->[0] = '2024-11-19 16:39:29'
17:39:54 koha_1       |     # Looks like you failed 1 test of 54.

We must use t::lib::Dates::compare to compare datetimes in tests.

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://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