diff --git a/apps/settings/tests/Mailer/NewUserMailHelperTest.php b/apps/settings/tests/Mailer/NewUserMailHelperTest.php index 74fc1f7a7f..3744173f53 100644 --- a/apps/settings/tests/Mailer/NewUserMailHelperTest.php +++ b/apps/settings/tests/Mailer/NewUserMailHelperTest.php @@ -180,30 +180,30 @@ class NewUserMailHelperTest extends TestCase { $expectedHtmlBody = << - + - + - + - +
-
-
+
+
-
- +
+ -
+ -
+
@@ -219,14 +219,14 @@ class NewUserMailHelperTest extends TestCase {
- +
  
- @@ -234,32 +234,25 @@ class NewUserMailHelperTest extends TestCase {
-

Welcome aboard

+
+

Welcome aboard

- +
  
-
- +
+ -
- - - - - - -
 
+
- @@ -268,13 +261,13 @@ class NewUserMailHelperTest extends TestCase {
+ - - +
-

Welcome to your TestCloud account, you can add, protect, and share your data.

+
+

Welcome to your TestCloud account, you can add, protect, and share your data.

- @@ -283,25 +276,25 @@ class NewUserMailHelperTest extends TestCase {
+ - - +
-

Your username is: john

+
+

Your username is: john

- +
  
- @@ -339,22 +332,22 @@ class NewUserMailHelperTest extends TestCase {
+ - - +
+
-
+ -
- Set your password + + Set your password
@@ -310,11 +303,11 @@ class NewUserMailHelperTest extends TestCase {
-
+ -
- Install Client + + Install Client
@@ -323,7 +316,7 @@ class NewUserMailHelperTest extends TestCase {
- +
  
- @@ -366,6 +359,7 @@ class NewUserMailHelperTest extends TestCase {
                                                           
+ EOF; $expectedTextBody = << - + - + - + - +
-
-
+
+
-
- +
+ -
+ -
+
@@ -456,14 +450,14 @@ EOF;
- +
  
- @@ -471,32 +465,25 @@ EOF;
-

Welcome aboard John Doe

+
+

Welcome aboard John Doe

- +
  
-
- +
+ -
- - - - - - -
 
+
- @@ -505,13 +492,13 @@ EOF;
+ - - +
-

Welcome to your TestCloud account, you can add, protect, and share your data.

+
+

Welcome to your TestCloud account, you can add, protect, and share your data.

- @@ -520,25 +507,25 @@ EOF;
+ - - +
-

Your username is: john

+
+

Your username is: john

- +
  
- @@ -576,22 +563,22 @@ EOF;
+ - - +
+
-
+ -
- Go to TestCloud + + Go to TestCloud
@@ -547,11 +534,11 @@ EOF;
-
+ -
- Install Client + + Install Client
@@ -560,7 +547,7 @@ EOF;
- +
  
- @@ -603,6 +590,7 @@ EOF;
                                                           
+ EOF; $expectedTextBody = << - + - + - + - +
-
-
+
+
-
- +
+ -
+ -
+
@@ -697,14 +685,14 @@ EOF;
- +
  
- @@ -712,32 +700,25 @@ EOF;
-

Welcome aboard John Doe

+
+

Welcome aboard John Doe

- +
  
-
- +
+ -
- - - - - - -
 
+
- @@ -746,25 +727,25 @@ EOF;
+ - - +
-

Welcome to your TestCloud account, you can add, protect, and share your data.

+
+

Welcome to your TestCloud account, you can add, protect, and share your data.

- +
  
- @@ -802,22 +783,22 @@ EOF;
+ - - +
+
-
+ -
- Go to TestCloud + + Go to TestCloud
@@ -773,11 +754,11 @@ EOF;
-
+ -
- Install Client + + Install Client
@@ -786,7 +767,7 @@ EOF;
- +
  
- @@ -829,6 +810,7 @@ EOF;
                                                           
+ EOF; $expectedTextBody = << - + @@ -103,6 +103,7 @@ EOF;
                                                           
+ EOF; protected $header = << - + - + - + -
+
-
-
+
+
-
- +
+ -
+ -
+
@@ -38,14 +38,14 @@
- +
  
- @@ -53,32 +53,25 @@
-

Welcome aboard

+
+

Welcome aboard

- +
  
-
- +
+ -
- - - - - - -
 
+
- @@ -87,13 +80,13 @@
+ - - +
-

Welcome to your Nextcloud account, you can add, protect, and share your data.

+
+

Welcome to your Nextcloud account, you can add, protect, and share your data.

- @@ -102,25 +95,25 @@
+ - - +
-

Your username is: abc

+
+

Your username is: abc

- +
  
- @@ -158,22 +151,22 @@
+ - - +
+
-
+ -
- Set your password + + Set your password
@@ -129,11 +122,11 @@
-
+ -
- Install Client + + Install Client
@@ -142,7 +135,7 @@
- +
  
- @@ -184,4 +177,4 @@
                                                           
- \ No newline at end of file + diff --git a/tests/data/emails/new-account-email-single-button.html b/tests/data/emails/new-account-email-single-button.html index d1ce4a1e85..13e0c036c3 100644 --- a/tests/data/emails/new-account-email-single-button.html +++ b/tests/data/emails/new-account-email-single-button.html @@ -1,28 +1,28 @@ - + - + - + - +
-
-
+
+
-
- +
+ -
+ -
+
@@ -38,14 +38,14 @@
- +
  
- @@ -53,32 +53,25 @@
-

Welcome aboard

+
+

Welcome aboard

- +
  
-
- +
+ -
- - - - - - -
 
+
- @@ -87,13 +80,13 @@
+ - - +
-

Welcome to your Nextcloud account, you can add, protect, and share your data.

+
+

Welcome to your Nextcloud account, you can add, protect, and share your data.

- @@ -102,25 +95,25 @@
+ - - +
-

Your username is: abc

+
+

Your username is: abc

- +
  
- @@ -145,22 +138,22 @@
+ - - +
+
-
+ -
- Set your password + + Set your password
@@ -129,7 +122,7 @@
- +
  
- @@ -171,4 +164,4 @@
                                                           
- \ No newline at end of file + diff --git a/tests/data/emails/new-account-email.html b/tests/data/emails/new-account-email.html index 82bea52751..84ee18479e 100644 --- a/tests/data/emails/new-account-email.html +++ b/tests/data/emails/new-account-email.html @@ -1,28 +1,28 @@ - + - + - + - +
-
-
+
+
-
- +
+ -
+ -
+
@@ -38,14 +38,14 @@
- +
  
- @@ -53,32 +53,25 @@
-

Welcome aboard

+
+

Welcome aboard

- +
  
-
- +
+ -
- - - - - - -
 
+
- @@ -87,13 +80,13 @@
+ - - +
-

Welcome to your Nextcloud account, you can add, protect, and share your data.

+
+

Welcome to your Nextcloud account, you can add, protect, and share your data.

- @@ -102,25 +95,25 @@
+ - - +
-

Your username is: abc

+
+

Your username is: abc

- +
  
- @@ -158,22 +151,22 @@
+ - - +
+
-
+ -
- Set your password + + Set your password
@@ -129,11 +122,11 @@
-
+ -
- Install Client + + Install Client
@@ -142,7 +135,7 @@
- +
  
- @@ -184,4 +177,4 @@
                                                           
- \ No newline at end of file +