[Koha-bugs] [Bug 29427] Debug mode not honoured in SMTP transport
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Fri Nov 5 16:52:52 CET 2021
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=29427
--- Comment #2 from Tomás Cohen Arazi <tomascohen at gmail.com> ---
Created attachment 127398
-->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=127398&action=edit
Bug 29427: Make SMTP transport set debug mode correctly
This patch makes the _transport_ method in Koha::SMTP::Server pass the
debug flag correctly to the Email::Sender::Transport::SMTP->new
constructor.
To test:
1. Apply the regression tests patch
2. Run:
$ kshell
k$ prove t/db_dependent/Koha/SMTP/Server.t
=> FAIL: Oh noes! debug is not passed to the constructor!
3. Apply this patch
4. Repeat 2
=> SUCCESS: Hey! It is being set!
5. Sign off :-D
Signed-off-by: Tomas Cohen Arazi <tomascohen at theke.io>
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list