summaryrefslogtreecommitdiffstats
path: root/apps/dav/tests
diff options
context:
space:
mode:
authorBjoern Schiessle <bjoern@schiessle.org>2017-03-13 16:54:27 +0100
committerBjoern Schiessle <bjoern@schiessle.org>2017-03-24 11:06:44 +0100
commitaa26a3ae749f624de63f9a274ff23d21c5160658 (patch)
tree92199275da2340be379ee8e114cd121ab8d80605 /apps/dav/tests
parente6371134523b6c263b37dd70878e7256cef53ecc (diff)
downloadnextcloud-server-aa26a3ae749f624de63f9a274ff23d21c5160658.tar.gz
nextcloud-server-aa26a3ae749f624de63f9a274ff23d21c5160658.zip
use right format for avatars
Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
Diffstat (limited to 'apps/dav/tests')
-rw-r--r--apps/dav/tests/unit/CardDAV/ConverterTest.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/apps/dav/tests/unit/CardDAV/ConverterTest.php b/apps/dav/tests/unit/CardDAV/ConverterTest.php
index ff218bfc78c..448d80f3070 100644
--- a/apps/dav/tests/unit/CardDAV/ConverterTest.php
+++ b/apps/dav/tests/unit/CardDAV/ConverterTest.php
@@ -146,7 +146,7 @@ class ConverterTest extends TestCase {
[
'cloud' => 'foo@cloud.net',
'email' => 'foo@bar.net',
- 'photo' => 'data:image/jpeg;base64,MTIzNDU2Nzg5',
+ 'photo' => 'MTIzNDU2Nzg5',
],
null,
'foo@bar.net',
@@ -157,7 +157,7 @@ class ConverterTest extends TestCase {
'cloud' => 'foo@cloud.net',
'email' => 'foo@bar.net',
'fn' => 'Dr. Foo Bar',
- 'photo' => 'data:image/jpeg;base64,MTIzNDU2Nzg5',
+ 'photo' => 'MTIzNDU2Nzg5',
],
"Dr. Foo Bar",
"foo@bar.net",
@@ -167,7 +167,7 @@ class ConverterTest extends TestCase {
[
'cloud' => 'foo@cloud.net',
'fn' => 'Dr. Foo Bar',
- 'photo' => 'data:image/jpeg;base64,MTIzNDU2Nzg5',
+ 'photo' => 'MTIzNDU2Nzg5',
],
"Dr. Foo Bar",
null,
@@ -177,7 +177,7 @@ class ConverterTest extends TestCase {
[
'cloud' => 'foo@cloud.net',
'fn' => 'Dr. Foo Bar',
- 'photo' => 'data:image/jpeg;base64,MTIzNDU2Nzg5',
+ 'photo' => 'MTIzNDU2Nzg5',
],
'Dr. Foo Bar',
'',