]> git.koha-community.org Git - koha.git/commit
Bug 32269: Prevent Circulation.t to fail randomly
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Fri, 18 Nov 2022 14:31:10 +0000 (15:31 +0100)
committerTomas Cohen Arazi <tomascohen@theke.io>
Wed, 23 Nov 2022 12:29:45 +0000 (09:29 -0300)
commit1672bd3ed21e75a15ed87f5e96bd4205abb3329c
tree9f721e0d75d43c341c1f52b4415ee1372187e963
parent6e9903423e4e9e62db1763e18b06c7fbc4e8b7a4
Bug 32269: Prevent Circulation.t to fail randomly

Highlighted by Bug 32030: fix test builder for boolean

    #   Failed test 'Checkouts with auto-renewal can be renewed earliest on due date if no renewalbefore'
    #   at t/db_dependent/Circulation.t line 343.
    #          got: '2022-11-18T14:16:12'
    #     expected: '2022-12-02T00:00:00'

    #   Failed test 'Checkouts with auto-renewal can be renewed earliest on due date if no renewalbefore'
    #   at t/db_dependent/Circulation.t line 349.
    #          got: '2022-11-18T14:16:12'
    #     expected: '2022-12-02T23:59:00'
    # Looks like you failed 2 tests of 5

We were reaching return $now

Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
t/db_dependent/Circulation.t