]> git.koha-community.org Git - koha.git/commit
Bug 27424: (QA follow-up) Make Koha::SMTP::Server->store deal with defaults
authorTomas Cohen Arazi <tomascohen@theke.io>
Fri, 4 Feb 2022 17:24:18 +0000 (14:24 -0300)
committerTomas Cohen Arazi <tomascohen@theke.io>
Tue, 31 Jan 2023 13:52:49 +0000 (10:52 -0300)
commit29c263241d122b651e58d6c296eecb4a7e0aa648
treec2f4de35af7443c086394e297e7aad21dfa69bda
parent37fcf837ce221f6bf1bcbf48fb29b09a3fd6a1b9
Bug 27424: (QA follow-up) Make Koha::SMTP::Server->store deal with defaults

This patch makes the ->store method take care of setting the server as
the only default one.

To test:
1. Apply this patch
2. Run:
   $ kshell
  k$ prove t/db_dependent/Koha/SMTP/Server.t
=> SUCCESS: Tests pass!
3. The UI keeps working as it should.
4. Sign off :-D

Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
Koha/SMTP/Server.pm
admin/smtp_servers.pl
t/db_dependent/Koha/SMTP/Server.t