diff --git a/apps/settings/tests/Mailer/NewUserMailHelperTest.php b/apps/settings/tests/Mailer/NewUserMailHelperTest.php
index 8d2ce83e3ed..5cc15a0d653 100644
--- a/apps/settings/tests/Mailer/NewUserMailHelperTest.php
+++ b/apps/settings/tests/Mailer/NewUserMailHelperTest.php
@@ -378,8 +378,8 @@ Set your password: https://example.com/resetPassword/MySuperLongSecureRandomToke
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 @@ Go to TestCloud: https://example.com/
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 @@ Go to TestCloud: https://example.com/
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 2d2e01b7ab0..9165a581d48 100644
--- a/tests/data/emails/new-account-email-custom.html
+++ b/tests/data/emails/new-account-email-custom.html
@@ -114,7 +114,7 @@
|
- |