]> git.koha-community.org Git - koha.git/commit
Bug 28615: (follow-up) Newer Test::MockModule forbid ->mock
authorTomas Cohen Arazi <tomascohen@theke.io>
Tue, 29 Jun 2021 14:18:12 +0000 (11:18 -0300)
committerTomas Cohen Arazi <tomascohen@theke.io>
Tue, 29 Jun 2021 14:18:14 +0000 (11:18 -0300)
commitec382b926ce238f4d19675ae12fd41016cca8584
tree87f69e8667041ba6070fe3d63496a3137b4963f3
parent34139e3e19965a372e69dfa10c52372991be8e96
Bug 28615: (follow-up) Newer Test::MockModule forbid ->mock

In strict mode, ->mock is forbidden and ->redefine needs to be used
instead. I tested this on buster to see if it breaks something, but it
doesn't.

Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
t/lib/Mocks/Logger.pm