diff options
author | John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com> | 2018-11-01 17:32:21 +0100 |
---|---|---|
committer | John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com> | 2018-11-01 17:32:21 +0100 |
commit | abed75e5cbd200169a236f3b586553e5d9ed0452 (patch) | |
tree | 2294e1b568a0c0ea7cf742eb254f56c188f980e2 /tests/lib/Repair | |
parent | 29b72fd1f7031d6139ab340420d3fd9e29b5073c (diff) | |
download | nextcloud-server-abed75e5cbd200169a236f3b586553e5d9ed0452.tar.gz nextcloud-server-abed75e5cbd200169a236f3b586553e5d9ed0452.zip |
Fix phpunit
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
Diffstat (limited to 'tests/lib/Repair')
-rw-r--r-- | tests/lib/Repair/SetVcardDatabaseUIDTest.php | 40 |
1 files changed, 20 insertions, 20 deletions
diff --git a/tests/lib/Repair/SetVcardDatabaseUIDTest.php b/tests/lib/Repair/SetVcardDatabaseUIDTest.php index 59a115ba755..fe1a7481d7b 100644 --- a/tests/lib/Repair/SetVcardDatabaseUIDTest.php +++ b/tests/lib/Repair/SetVcardDatabaseUIDTest.php @@ -52,30 +52,30 @@ class SetVcardDatabaseUIDTest extends TestCase { public function dataTestVcards() { return [ // classic vcard - ['BEGIN:VCARD - VERSION:3.0 - PRODID:-//Sabre//Sabre VObject 4.1.2//EN - UID:Test - FN:Test - N:Test;;;; - END:VCARD', 'Test'], + ['BEGIN:VCARD'.PHP_EOL. + 'VERSION:3.0'.PHP_EOL. + 'PRODID:-//Sabre//Sabre VObject 4.1.2//EN'.PHP_EOL. + 'UID:Test'.PHP_EOL. + 'FN:Test'.PHP_EOL. + 'N:Test;;;;'.PHP_EOL. + 'END:VCARD', 'Test'], // UID as url - ['BEGIN:VCARD - VERSION:3.0 - PRODID:-//Sabre//Sabre VObject 4.1.2//EN - UID:https://User@old.domain.com/remote.php/carddav/addressbooks/User/contacts/2EAF6525-17ADC861-38D6BB1D.vcf - FN:Test - N:Test;;;; - END:VCARD', 'https://User@old.domain.com/remote.php/carddav/addressbooks/User/contacts/2EAF6525-17ADC861-38D6BB1D.vcf'], + ['BEGIN:VCARD'.PHP_EOL. + 'VERSION:3.0'.PHP_EOL. + 'PRODID:-//Sabre//Sabre VObject 4.1.2//EN'.PHP_EOL. + 'UID:https://User@old.domain.com/remote.php/carddav/addressbooks/User/contacts/2EAF6525-17ADC861-38D6BB1D.vcf'.PHP_EOL. + 'FN:Test'.PHP_EOL. + 'N:Test;;;;'.PHP_EOL. + 'END:VCARD', 'https://User@old.domain.com/remote.php/carddav/addressbooks/User/contacts/2EAF6525-17ADC861-38D6BB1D.vcf'], // No uid - ['BEGIN:VCARD - VERSION:3.0 - PRODID:-//Sabre//Sabre VObject 4.1.2//EN - FN:Test - N:Test;;;; - END:VCARD', false] + ['BEGIN:VCARD'.PHP_EOL. + 'VERSION:3.0'.PHP_EOL. + 'PRODID:-//Sabre//Sabre VObject 4.1.2//EN'.PHP_EOL. + 'FN:Test'.PHP_EOL. + 'N:Test;;;;'.PHP_EOL. + 'END:VCARD', false] ]; } |