]> git.koha-community.org Git - koha.git/commit
Bug 36822: (QA follow-up): Fix now time in tests
authorPedro Amorim <pedro.amorim@ptfs-europe.com>
Mon, 4 Nov 2024 11:32:34 +0000 (11:32 +0000)
committerKatrin Fischer <katrin.fischer@bsz-bw.de>
Thu, 7 Nov 2024 15:29:17 +0000 (16:29 +0100)
commitf945b29ca1ad7b6df178c46f080ae1e9ca05e1c4
treebc80dfa5f9ac68b2b874db7499ac6f3f8de2e155
parent473f918ba876b7343ced24b20b21d80d7a33abaf
Bug 36822: (QA follow-up): Fix now time in tests

This is to prevent the scenario of tests failing if they take long to run, e.g.:

    #   Failed test 'updated_on correctly saved on newly created user'
    #   at t/db_dependent/Auth_with_shibboleth.t line 317.
    #     Structures begin differing at:
    #          ->[0] = '2024-11-04 11:20:13'
    #     ->[0] = '2024-11-04 11:20:14

Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
t/db_dependent/Auth_with_ldap.t
t/db_dependent/Auth_with_shibboleth.t