]> git.koha-community.org Git - koha.git/commit
Bug 12532: Fix test
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Tue, 19 Sep 2023 09:14:42 +0000 (11:14 +0200)
committerTomas Cohen Arazi <tomascohen@theke.io>
Tue, 10 Oct 2023 12:58:53 +0000 (09:58 -0300)
commitb9325a9177668e346ea79f33391143cc57888294
tree51227b29acb627f9e5f361ee54fdcf1ed7230ae3
parent273440924d323b94c67797e52fe062554c61a41b
Bug 12532: Fix test

The mock was working. The problem was that the to_address of the notice
was set from the previous send.

A fix would be to update the message, but it seems better to simply
re-enqueue it.

This patch also use Koha::Notice::Messages.

Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
t/db_dependent/Letters.t