diff options
author | Joas Schilling <coding@schilljs.com> | 2024-07-10 15:29:45 +0200 |
---|---|---|
committer | Joas Schilling <coding@schilljs.com> | 2024-07-17 09:24:55 +0200 |
commit | 693a81bfa367089de4b61ee1ea104c85e6bc6d1c (patch) | |
tree | fc98b9adef2985e640f1cf9f95d91f63dd7257f8 /tests/lib/Mail | |
parent | 2f9fcc22aec918a9d07603b5e481d43bfb980ba0 (diff) | |
download | nextcloud-server-693a81bfa367089de4b61ee1ea104c85e6bc6d1c.tar.gz nextcloud-server-693a81bfa367089de4b61ee1ea104c85e6bc6d1c.zip |
fix(mail): Fix big logos in mail templates for Outlook
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'tests/lib/Mail')
-rw-r--r-- | tests/lib/Mail/EMailTemplateTest.php | 2 | ||||
-rw-r--r-- | tests/lib/Mail/MailerTest.php | 3 |
2 files changed, 5 insertions, 0 deletions
diff --git a/tests/lib/Mail/EMailTemplateTest.php b/tests/lib/Mail/EMailTemplateTest.php index a12cf82ab50..45ccf543848 100644 --- a/tests/lib/Mail/EMailTemplateTest.php +++ b/tests/lib/Mail/EMailTemplateTest.php @@ -38,6 +38,8 @@ class EMailTemplateTest extends TestCase { $this->defaults, $this->urlGenerator, $this->l10n, + 252, + 120, 'test.TestTemplate', [] ); diff --git a/tests/lib/Mail/MailerTest.php b/tests/lib/Mail/MailerTest.php index 91006a8331a..be95307da6d 100644 --- a/tests/lib/Mail/MailerTest.php +++ b/tests/lib/Mail/MailerTest.php @@ -236,6 +236,9 @@ class MailerTest extends TestCase { $this->config->method('getSystemValueString') ->with('mail_template_class', '') ->willReturnArgument(1); + $this->config->method('getAppValue') + ->with('theming', 'logoDimensions', Mailer::DEFAULT_DIMENSIONS) + ->willReturn(Mailer::DEFAULT_DIMENSIONS); $this->assertSame(EMailTemplate::class, get_class($this->mailer->createEMailTemplate('tests.MailerTest'))); } |