From 597a04acb54f38c7b9e430e915efa72583844c56 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 | 14 +++++++------- lib/private/Mail/EMailTemplate.php | 4 ++-- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/apps/settings/tests/Mailer/NewUserMailHelperTest.php b/apps/settings/tests/Mailer/NewUserMailHelperTest.php index d93ed6e9eae21..8d2ce83e3ed00 100644 --- a/apps/settings/tests/Mailer/NewUserMailHelperTest.php +++ b/apps/settings/tests/Mailer/NewUserMailHelperTest.php @@ -295,7 +295,7 @@ public function testGenerateTemplateWithPasswordResetToken() {
- +
@@ -532,7 +532,7 @@ public function testGenerateTemplateWithoutPasswordResetToken() {
- +
@@ -615,8 +615,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; @@ -758,7 +758,7 @@ public function testGenerateTemplateWithoutUserId() {
- +
@@ -839,8 +839,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 1d25627ff5c0e..11915c46e837c 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 11b3619dbd6ac4cd57a63f7e2c6ef06a499b205c 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 --- apps/settings/tests/Mailer/NewUserMailHelperTest.php | 12 ++++++------ tests/data/emails/new-account-email-custom.html | 2 +- .../data/emails/new-account-email-single-button.html | 2 +- tests/data/emails/new-account-email.html | 2 +- 4 files changed, 9 insertions(+), 9 deletions(-) diff --git a/apps/settings/tests/Mailer/NewUserMailHelperTest.php b/apps/settings/tests/Mailer/NewUserMailHelperTest.php index 8d2ce83e3ed00..5cc15a0d65351 100644 --- a/apps/settings/tests/Mailer/NewUserMailHelperTest.php +++ b/apps/settings/tests/Mailer/NewUserMailHelperTest.php @@ -378,8 +378,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; @@ -615,8 +615,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; @@ -839,8 +839,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/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-single-button.html b/tests/data/emails/new-account-email-single-button.html index 279822e21cc4f..d1ce4a1e85730 100644 --- a/tests/data/emails/new-account-email-single-button.html +++ b/tests/data/emails/new-account-email-single-button.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 @@

- +