Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
];
foreach ($vCard->children() as $property) {
- $result[$property->name] = $property->getValue();
if ($property->name === 'PHOTO' && $property->getValueType() === 'BINARY') {
$url = $this->urlGenerator->getAbsoluteURL(
$this->urlGenerator->linkTo('', 'remote.php') . '/dav/');
$array = $this->invokePrivate($this->addressBookImpl, 'vCard2Array', ['uri', $vCard]);
unset($array['PRODID']);
+ unset($array['UID']);
$this->assertEquals([
'URI' => 'uri',
- 'VERSION' => '3.0',
+ 'VERSION' => '4.0',
'FN' => 'Full Name',
'CLOUD' => [
'cloud-user1@localhost',