diff options
author | Brad Rubenstein <brad@wbr.tech> | 2020-09-02 17:16:24 +0200 |
---|---|---|
committer | Brad Rubenstein <brad@wbr.tech> | 2020-09-02 17:54:36 +0200 |
commit | 442af8c5d57797bf255db036c8c04ab48f36c3a1 (patch) | |
tree | 579ba91c0f93a21023477d73fdc9a4f887e1ea41 /apps/settings/tests/Mailer | |
parent | b0687b1182e0c2da8873b2224d299f4c933f29db (diff) | |
download | nextcloud-server-442af8c5d57797bf255db036c8c04ab48f36c3a1.tar.gz nextcloud-server-442af8c5d57797bf255db036c8c04ab48f36c3a1.zip |
Minor cleanup: php-cs-fixer, tests, interface consistency
IMipPlugin.php Removed blank lines to make php-cs-fixer happy.
Minor cleanup: bugs found by Psalm static checker
IEMailTemplate: The public interface to addBodyListItem also needs to include the new plainIndent parameter.
IMipPlugin: Fixes an undefined variable for events that do not have DTEND. Also use explicit string conversion for parameters and properties in several places.
The new email template adds an additional blank line before "button" links in plain text, so the tests were fixed to include that additional blank line.
Signed-off-by: Brad Rubenstein <brad@wbr.tech>
Diffstat (limited to 'apps/settings/tests/Mailer')
-rw-r--r-- | apps/settings/tests/Mailer/NewUserMailHelperTest.php | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/apps/settings/tests/Mailer/NewUserMailHelperTest.php b/apps/settings/tests/Mailer/NewUserMailHelperTest.php index fdb5da3bb54..7507c8a9dac 100644 --- a/apps/settings/tests/Mailer/NewUserMailHelperTest.php +++ b/apps/settings/tests/Mailer/NewUserMailHelperTest.php @@ -599,6 +599,7 @@ Welcome to your TestCloud account, you can add, protect, and share your data. Your username is: john + Go to TestCloud: https://example.com/ Install Client: https://nextcloud.com/install/#install-clients @@ -817,6 +818,7 @@ Welcome aboard John Doe Welcome to your TestCloud account, you can add, protect, and share your data. + Go to TestCloud: https://example.com/ Install Client: https://nextcloud.com/install/#install-clients |