From 301335e9e186ef542103e10ef7a81a69370d6d82 Mon Sep 17 00:00:00 2001 From: Liam JACK Date: Sun, 12 Apr 2020 13:04:56 +0200 Subject: [PATCH 1/2] Fix #13287 - Increase max-height on button in welcome email template Signed-off-by: Liam JACK --- .../tests/Mailer/NewUserMailHelperTest.php | 18 +++++++++--------- lib/private/Mail/EMailTemplate.php | 4 ++-- 2 files changed, 11 insertions(+), 11 deletions(-) diff --git a/apps/settings/tests/Mailer/NewUserMailHelperTest.php b/apps/settings/tests/Mailer/NewUserMailHelperTest.php index c32bb601f31af..ffce4d9978ac6 100644 --- a/apps/settings/tests/Mailer/NewUserMailHelperTest.php +++ b/apps/settings/tests/Mailer/NewUserMailHelperTest.php @@ -294,7 +294,7 @@ public function testGenerateTemplateWithPasswordResetToken() {
- +
@@ -377,8 +377,8 @@ public function testGenerateTemplateWithPasswordResetToken() { Install Client: https://nextcloud.com/install/#install-clients --- -TestCloud - +-- +TestCloud - This is an automatically sent email, please do not reply. EOF; @@ -531,7 +531,7 @@ public function testGenerateTemplateWithoutPasswordResetToken() {
- +
@@ -614,8 +614,8 @@ public function testGenerateTemplateWithoutPasswordResetToken() { Install Client: https://nextcloud.com/install/#install-clients --- -TestCloud - +-- +TestCloud - This is an automatically sent email, please do not reply. EOF; @@ -757,7 +757,7 @@ public function testGenerateTemplateWithoutUserId() {
- +
@@ -838,8 +838,8 @@ public function testGenerateTemplateWithoutUserId() { Install Client: https://nextcloud.com/install/#install-clients --- -TestCloud - +-- +TestCloud - This is an automatically sent email, please do not reply. EOF; diff --git a/lib/private/Mail/EMailTemplate.php b/lib/private/Mail/EMailTemplate.php index 9e2f099259cbe..850a047fa2c2d 100644 --- a/lib/private/Mail/EMailTemplate.php +++ b/lib/private/Mail/EMailTemplate.php @@ -236,7 +236,7 @@ class EMailTemplate implements IEMailTemplate {
- +
@@ -289,7 +289,7 @@ class EMailTemplate implements IEMailTemplate {
- +
From 840bed9a859db16f21762a80832c09fc7d448b25 Mon Sep 17 00:00:00 2001 From: Morris Jobke Date: Fri, 17 Apr 2020 09:00:59 +0200 Subject: [PATCH 2/2] Fix tests Signed-off-by: Morris Jobke --- tests/data/emails/new-account-email-custom.html | 2 +- tests/data/emails/new-account-email.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/data/emails/new-account-email-custom.html b/tests/data/emails/new-account-email-custom.html index 2d2e01b7ab095..9165a581d487c 100644 --- a/tests/data/emails/new-account-email-custom.html +++ b/tests/data/emails/new-account-email-custom.html @@ -114,7 +114,7 @@

- +
diff --git a/tests/data/emails/new-account-email.html b/tests/data/emails/new-account-email.html index 3835fc3d540a2..82bea5275184d 100644 --- a/tests/data/emails/new-account-email.html +++ b/tests/data/emails/new-account-email.html @@ -114,7 +114,7 @@

- +