[Koha-bugs] [Bug 25665] test t/db_dependent/Circulation.t fails on a specific date

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue Jun 30 23:34:33 CEST 2020


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

--- Comment #8 from Victor Grousset/tuxayo <victor at tuxayo.net> ---
I don't manage to use Time::Fake ...

IIUC I should just replace this line:
https://gitlab.com/koha-community/Koha/-/blob/19.05.x/t/db_dependent/Circulation.t#L3100

By one of the following to decide the outcome of the test:
    my $dt = dt_from_string("2020-06-02 19:05"); # should fail
    my $dt = dt_from_string("2020-06-03 19:05"); # should work

But it has no effect, I can still only decide the outcome of the test using
system's time.

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


More information about the Koha-bugs mailing list