]> source.dussan.org Git - nextcloud-server.git/commitdiff
Adjust tests to new e-mail layout 21747/head
authorSimon Spannagel <simonspa@kth.se>
Thu, 23 Jul 2020 16:06:44 +0000 (18:06 +0200)
committerSimon Spannagel <simonspa@kth.se>
Thu, 23 Jul 2020 18:22:48 +0000 (20:22 +0200)
Signed-off-by: Simon Spannagel <simonspa@kth.se>
apps/settings/tests/Mailer/NewUserMailHelperTest.php
tests/data/emails/new-account-email-custom.html
tests/data/emails/new-account-email-single-button.html
tests/data/emails/new-account-email.html

index 3744173f53209bd580eb9e3d1361810459d56637..aa3a80dcc26fbc039dc23fb66488129638a4114d 100644 (file)
@@ -203,8 +203,8 @@ class NewUserMailHelperTest extends TestCase {
                                                <table class="row collapse" style="border-collapse:collapse;border-spacing:0;display:table;padding:0;position:relative;text-align:left;vertical-align:top;width:100%">
                                                        <tbody>
                                                        <tr style="padding:0;text-align:left;vertical-align:top">
-                                                               <center data-parsed="" style="background-color:;min-width:150px;padding:50px 0;border-radius:200px">
-                                                                       <img class="logo float-center" src="" alt="TestCloud" align="center" style="-ms-interpolation-mode:bicubic;Margin:0 auto;clear:both;display:block;float:none;margin:0 auto;outline:0;text-align:center;text-decoration:none" height="50">
+                                                               <center data-parsed="" style="background-color:;width:150px;height:150px;padding:0px;position:relative;border-radius:200px">
+                                                                       <img class="logo float-center" src="" alt="TestCloud" align="center" style="-ms-interpolation-mode:bicubic;clear:both;display:block;float:none;outline:0;text-align:center;text-decoration:none;position:absolute;max-height:100px;max-width:100px;width:auto;height:auto;position:absolute;top:0;bottom:0;left:0;right:0;margin:auto;">
                                                                </center>
                                                        </tr>
                                                        </tbody>
@@ -434,8 +434,8 @@ EOF;
                                                <table class="row collapse" style="border-collapse:collapse;border-spacing:0;display:table;padding:0;position:relative;text-align:left;vertical-align:top;width:100%">
                                                        <tbody>
                                                        <tr style="padding:0;text-align:left;vertical-align:top">
-                                                               <center data-parsed="" style="background-color:;min-width:150px;padding:50px 0;border-radius:200px">
-                                                                       <img class="logo float-center" src="" alt="TestCloud" align="center" style="-ms-interpolation-mode:bicubic;Margin:0 auto;clear:both;display:block;float:none;margin:0 auto;outline:0;text-align:center;text-decoration:none" height="50">
+                                                               <center data-parsed="" style="background-color:;width:150px;height:150px;padding:0px;position:relative;border-radius:200px">
+                                                                       <img class="logo float-center" src="" alt="TestCloud" align="center" style="-ms-interpolation-mode:bicubic;clear:both;display:block;float:none;outline:0;text-align:center;text-decoration:none;position:absolute;max-height:100px;max-width:100px;width:auto;height:auto;position:absolute;top:0;bottom:0;left:0;right:0;margin:auto;">
                                                                </center>
                                                        </tr>
                                                        </tbody>
@@ -669,8 +669,8 @@ EOF;
                                                <table class="row collapse" style="border-collapse:collapse;border-spacing:0;display:table;padding:0;position:relative;text-align:left;vertical-align:top;width:100%">
                                                        <tbody>
                                                        <tr style="padding:0;text-align:left;vertical-align:top">
-                                                               <center data-parsed="" style="background-color:;min-width:150px;padding:50px 0;border-radius:200px">
-                                                                       <img class="logo float-center" src="" alt="TestCloud" align="center" style="-ms-interpolation-mode:bicubic;Margin:0 auto;clear:both;display:block;float:none;margin:0 auto;outline:0;text-align:center;text-decoration:none" height="50">
+                                                               <center data-parsed="" style="background-color:;width:150px;height:150px;padding:0px;position:relative;border-radius:200px">
+                                                                       <img class="logo float-center" src="" alt="TestCloud" align="center" style="-ms-interpolation-mode:bicubic;clear:both;display:block;float:none;outline:0;text-align:center;text-decoration:none;position:absolute;max-height:100px;max-width:100px;width:auto;height:auto;position:absolute;top:0;bottom:0;left:0;right:0;margin:auto;">
                                                                </center>
                                                        </tr>
                                                        </tbody>
index ec88e309cf8678b44e1290628dd2153048fc301c..f37e64df9296bae76951027bb33d7563f1eade1f 100644 (file)
@@ -22,8 +22,8 @@
                                                <table class="row collapse" style="border-collapse:collapse;border-spacing:0;display:table;padding:0;position:relative;text-align:left;vertical-align:top;width:100%">
                                                        <tbody>
                                                        <tr style="padding:0;text-align:left;vertical-align:top">
-                                                               <center data-parsed="" style="background-color:#0082c9;min-width:150px;padding:50px 0;border-radius:200px">
-                                                                       <img class="logo float-center" src="https://example.org/img/logo-mail-header.png" alt="TestCloud" align="center" style="-ms-interpolation-mode:bicubic;Margin:0 auto;clear:both;display:block;float:none;margin:0 auto;outline:0;text-align:center;text-decoration:none" height="50">
+                                                               <center data-parsed="" style="background-color:#0082c9;width:150px;height:150px;padding:0px;position:relative;border-radius:200px">
+                                                                       <img class="logo float-center" src="https://example.org/img/logo-mail-header.png" alt="TestCloud" align="center" style="-ms-interpolation-mode:bicubic;clear:both;display:block;float:none;outline:0;text-align:center;text-decoration:none;position:absolute;max-height:100px;max-width:100px;width:auto;height:auto;position:absolute;top:0;bottom:0;left:0;right:0;margin:auto;">
                                                                </center>
                                                        </tr>
                                                        </tbody>
index 13e0c036c3e455a029706003aa74a547f187488a..fdb64293c70835dbe72c709c3f0f180dd1af0a7c 100644 (file)
@@ -22,8 +22,8 @@
                                                <table class="row collapse" style="border-collapse:collapse;border-spacing:0;display:table;padding:0;position:relative;text-align:left;vertical-align:top;width:100%">
                                                        <tbody>
                                                        <tr style="padding:0;text-align:left;vertical-align:top">
-                                                               <center data-parsed="" style="background-color:#0082c9;min-width:150px;padding:50px 0;border-radius:200px">
-                                                                       <img class="logo float-center" src="https://example.org/img/logo-mail-header.png" alt="TestCloud" align="center" style="-ms-interpolation-mode:bicubic;Margin:0 auto;clear:both;display:block;float:none;margin:0 auto;outline:0;text-align:center;text-decoration:none" height="50">
+                                                               <center data-parsed="" style="background-color:#0082c9;width:150px;height:150px;padding:0px;position:relative;border-radius:200px">
+                                                                       <img class="logo float-center" src="https://example.org/img/logo-mail-header.png" alt="TestCloud" align="center" style="-ms-interpolation-mode:bicubic;clear:both;display:block;float:none;outline:0;text-align:center;text-decoration:none;position:absolute;max-height:100px;max-width:100px;width:auto;height:auto;position:absolute;top:0;bottom:0;left:0;right:0;margin:auto;">
                                                                </center>
                                                        </tr>
                                                        </tbody>
index 84ee18479e4cab4249ba6e2e831681903e02978d..6a6a2fe63833ed9e05df71539a9bd98ca60625b7 100644 (file)
@@ -22,8 +22,8 @@
                                                <table class="row collapse" style="border-collapse:collapse;border-spacing:0;display:table;padding:0;position:relative;text-align:left;vertical-align:top;width:100%">
                                                        <tbody>
                                                        <tr style="padding:0;text-align:left;vertical-align:top">
-                                                               <center data-parsed="" style="background-color:#0082c9;min-width:150px;padding:50px 0;border-radius:200px">
-                                                                       <img class="logo float-center" src="https://example.org/img/logo-mail-header.png" alt="TestCloud" align="center" style="-ms-interpolation-mode:bicubic;Margin:0 auto;clear:both;display:block;float:none;margin:0 auto;outline:0;text-align:center;text-decoration:none" height="50">
+                                                               <center data-parsed="" style="background-color:#0082c9;width:150px;height:150px;padding:0px;position:relative;border-radius:200px">
+                                                                       <img class="logo float-center" src="https://example.org/img/logo-mail-header.png" alt="TestCloud" align="center" style="-ms-interpolation-mode:bicubic;clear:both;display:block;float:none;outline:0;text-align:center;text-decoration:none;position:absolute;max-height:100px;max-width:100px;width:auto;height:auto;position:absolute;top:0;bottom:0;left:0;right:0;margin:auto;">
                                                                </center>
                                                        </tr>
                                                        </tbody>