Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
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 <[email protected]>
  • Loading branch information
come-nc committed Nov 15, 2022
commit 72f4b34ad5816212fd0f8da374112edcc796b5dc
12 changes: 9 additions & 3 deletions apps/settings/tests/Mailer/NewUserMailHelperTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -369,7 +369,9 @@ public function testGenerateTemplateWithPasswordResetToken() {
Install Client: https://nextcloud.com/install/#install-clients


--
EOF;
$expectedTextBody .= "\n-- \n";
$expectedTextBody .= <<<EOF
TestCloud
This is an automatically sent email, please do not reply.
EOF;
Expand Down Expand Up @@ -603,7 +605,9 @@ public function testGenerateTemplateWithoutPasswordResetToken() {
Install Client: https://nextcloud.com/install/#install-clients


--
EOF;
$expectedTextBody .= "\n-- \n";
$expectedTextBody .= <<<EOF
TestCloud
This is an automatically sent email, please do not reply.
EOF;
Expand Down Expand Up @@ -824,7 +828,9 @@ public function testGenerateTemplateWithoutUserId() {
Install Client: https://nextcloud.com/install/#install-clients


--
EOF;
$expectedTextBody .= "\n-- \n";
$expectedTextBody .= <<<EOF
TestCloud
This is an automatically sent email, please do not reply.
EOF;
Expand Down