From: Côme Chilliet Date: Tue, 15 Nov 2022 09:31:58 +0000 (+0100) Subject: Fix tests depending on a trailing whitespace X-Git-Tag: v26.0.0beta1~412^2 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=72f4b34ad5816212fd0f8da374112edcc796b5dc;p=nextcloud-server.git Fix tests depending on a trailing whitespace Many editors remove trailing whitespaces, so avoid depending on them for tests success. Signed-off-by: Côme Chilliet --- diff --git a/apps/settings/tests/Mailer/NewUserMailHelperTest.php b/apps/settings/tests/Mailer/NewUserMailHelperTest.php index eddf6fa3811..252dcfd8057 100644 --- a/apps/settings/tests/Mailer/NewUserMailHelperTest.php +++ b/apps/settings/tests/Mailer/NewUserMailHelperTest.php @@ -369,7 +369,9 @@ Set your password: https://example.com/resetPassword/MySuperLongSecureRandomToke Install Client: https://nextcloud.com/install/#install-clients --- +EOF; + $expectedTextBody .= "\n-- \n"; + $expectedTextBody .= <<