From 4f9379fe25a4a42670ec6ea05a2574dbe7405aa8 Mon Sep 17 00:00:00 2001 From: Mason James Date: Sat, 10 Oct 2020 14:06:28 +1300 Subject: [PATCH] Bug 22343: Add configuration options for SMTP servers Content-Type: text/plain; charset="utf-8" fix SSL tests for u16, using older Email-Sender-1.300021 --- t/db_dependent/Koha/SMTP/Server.t | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/t/db_dependent/Koha/SMTP/Server.t b/t/db_dependent/Koha/SMTP/Server.t index 1e86fe4..23b3683 100755 --- a/t/db_dependent/Koha/SMTP/Server.t +++ b/t/db_dependent/Koha/SMTP/Server.t @@ -47,11 +47,11 @@ subtest 'transport() tests' => sub { is( ref($transport), 'Email::Sender::Transport::SMTP', 'Type is correct' ); is( $transport->ssl, 0, 'SSL is not set' ); - $server->set({ ssl_mode => 'ssl' })->store; + $server->set({ ssl_mode => '1' })->store; $transport = $server->transport; is( ref($transport), 'Email::Sender::Transport::SMTP', 'Type is correct' ); - is( $transport->ssl, 'ssl', 'SSL is set' ); + is( $transport->ssl, '1', 'SSL is set' ); $schema->storage->txn_rollback; }; -- 2.1.4