https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=19176
--- Comment #1 from Jonathan Druart <[email protected]> --- Created attachment 66493 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=66493&action=edit Bug 19176: Truncate to minutes when comparing dates in tests # Failed test 'borrowers.updated_on should have been set to now on creating' # at t/db_dependent/Patrons.t line 74. # got: '2017-08-10T20:53:03' # expected: '2017-08-10T20:53:04' # Looks like you failed 1 test of 17. [20:53:15] t/db_dependent/Patrons.t ..................................... The plan here is to compare string and/or DateTime objects and truncate the DateTime to minute That way tests will no longer fail when the seconds differ -- You are receiving this mail because: You are watching all bug changes. _______________________________________________ Koha-bugs mailing list [email protected] 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/
