Fix tests

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
This commit is contained in:
Roeland Jago Douma 2016-10-18 23:01:44 +02:00
parent ca379bdb7d
commit 9fa3a22ddd
No known key found for this signature in database
GPG Key ID: 1E152838F164D13B
2 changed files with 2 additions and 2 deletions

View File

@ -225,7 +225,6 @@ class AddressBookImpl implements IAddressBook {
];
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/');

View File

@ -332,10 +332,11 @@ class AddressBookImplTest extends TestCase {
$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',