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

Tomás Cohen Arazi <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]

--- Comment #5 from Tomás Cohen Arazi <[email protected]> ---
(In reply to Marc Véron from comment #2)
> Hi Jonathan
> 
> The patch minifies that false positives happen, but IMO the test will still
> arbitrarely fail with e.g. following dates:
> 
> got: '2017-08-10T20:53:59'
> expected: '2017-08-10T20:54:00'
> 
> Wouldn't it be safer to calculate the delta and pass the test OK if delta
> <60 sec?
> (Or even introduce a param for the precision that defaults to 60.)
> 
> Marc

The datetime should be mocked IMO.

-- 
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/

Reply via email to