Bug 18413: Fix Letters.t (following bug 17866)
commit2471dab71dff052b546f45690d8a3bea6f1f3811
authorMarcel de Rooy <m.de.rooy@rijksmuseum.nl>
Tue, 11 Apr 2017 12:15:54 +0000 (11 14:15 +0200)
committerKyle M Hall <kyle@bywatersolutions.com>
Wed, 12 Apr 2017 18:41:40 +0000 (12 18:41 +0000)
tree787c77e9254acb9426491795f882ce1a8a0e7f97
parent7d35bdf58a0bcebab20df47b50b249cafe12ddb6
Bug 18413: Fix Letters.t (following bug 17866)

SendAlert now needs a userenv to find branch email and the fallback
of KohaAdminEmailAddress if the branch mail is not filled.

Test plan:
Run t/db_dependent/Letters.t

Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
t/db_dependent/Letters.t