From f16c0c8a1a96065334977f432c003641528c3d81 Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Fri, 2 Oct 2020 18:05:08 +0200 Subject: [PATCH] Bug 22343: Add exec flag on .t files --- t/Koha/Email.t | 0 t/db_dependent/Koha/Library.t | 0 t/db_dependent/Koha/SMTP/Server.t | 0 t/db_dependent/Koha/SMTP/Servers.t | 0 t/db_dependent/Passwordrecovery.t | 4 ++++ t/db_dependent/api/v1/smtp_servers.t | 0 6 files changed, 4 insertions(+) mode change 100644 => 100755 t/Koha/Email.t mode change 100644 => 100755 t/db_dependent/Koha/Library.t mode change 100644 => 100755 t/db_dependent/Koha/SMTP/Server.t mode change 100644 => 100755 t/db_dependent/Koha/SMTP/Servers.t mode change 100644 => 100755 t/db_dependent/api/v1/smtp_servers.t diff --git a/t/Koha/Email.t b/t/Koha/Email.t old mode 100644 new mode 100755 diff --git a/t/db_dependent/Koha/Library.t b/t/db_dependent/Koha/Library.t old mode 100644 new mode 100755 diff --git a/t/db_dependent/Koha/SMTP/Server.t b/t/db_dependent/Koha/SMTP/Server.t old mode 100644 new mode 100755 diff --git a/t/db_dependent/Koha/SMTP/Servers.t b/t/db_dependent/Koha/SMTP/Servers.t old mode 100644 new mode 100755 diff --git a/t/db_dependent/Passwordrecovery.t b/t/db_dependent/Passwordrecovery.t index 53abb13d43..9ddd7fcc0e 100755 --- a/t/db_dependent/Passwordrecovery.t +++ b/t/db_dependent/Passwordrecovery.t @@ -42,6 +42,8 @@ $module->mock( use_ok('Koha::Patron::Password::Recovery'); +use t::lib::Mocks; +t::lib::Mocks::mock_preference('KohaAdminEmailAddress', 'root@example.org'); my $schema = Koha::Database->new()->schema(); $schema->storage->txn_begin(); @@ -67,6 +69,8 @@ my $branch = $builder->build({ source => 'Branch', value => { branchreturnpath => $email1, + branchemail => 'branch@koha-community.org', + reply_to => 'branch@koha-community.org', }, }); diff --git a/t/db_dependent/api/v1/smtp_servers.t b/t/db_dependent/api/v1/smtp_servers.t old mode 100644 new mode 100755 -- 2.20.1