aboutsummaryrefslogtreecommitdiffstats
path: root/vendor/sabre/dav/tests/Sabre/CardDAV/AddressBookTest.php
diff options
context:
space:
mode:
authorMario Vavti <mario@mariovavti.com>2017-05-04 10:51:39 +0200
committerMario Vavti <mario@mariovavti.com>2017-05-04 10:51:39 +0200
commit5c7acf4807aa427cf1391e0a5d044b453c38e619 (patch)
tree3fe49d4c3f75b0e2c9605327a3951f1da28e28b6 /vendor/sabre/dav/tests/Sabre/CardDAV/AddressBookTest.php
parenta92b9b7adb2be489106138b6269a5f7fe8eea5aa (diff)
downloadvolse-hubzilla-5c7acf4807aa427cf1391e0a5d044b453c38e619.tar.gz
volse-hubzilla-5c7acf4807aa427cf1391e0a5d044b453c38e619.tar.bz2
volse-hubzilla-5c7acf4807aa427cf1391e0a5d044b453c38e619.zip
update sabredav to version 3.2.2
Diffstat (limited to 'vendor/sabre/dav/tests/Sabre/CardDAV/AddressBookTest.php')
-rw-r--r--vendor/sabre/dav/tests/Sabre/CardDAV/AddressBookTest.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/vendor/sabre/dav/tests/Sabre/CardDAV/AddressBookTest.php b/vendor/sabre/dav/tests/Sabre/CardDAV/AddressBookTest.php
index 1a36fd10c..1f0064dd3 100644
--- a/vendor/sabre/dav/tests/Sabre/CardDAV/AddressBookTest.php
+++ b/vendor/sabre/dav/tests/Sabre/CardDAV/AddressBookTest.php
@@ -85,7 +85,7 @@ class AddressBookTest extends \PHPUnit_Framework_TestCase {
function testDelete() {
$this->ab->delete();
- $this->assertEquals([], $this->backend->addressBooks);
+ $this->assertEquals(1, count($this->backend->addressBooks));
}
@@ -175,7 +175,7 @@ class AddressBookTest extends \PHPUnit_Framework_TestCase {
$backend = new Backend\PDO(
$this->getPDO()
);
- $ab = new AddressBook($backend, [ 'id' => 1, '{DAV:}sync-token' => 2]);
+ $ab = new AddressBook($backend, ['id' => 1, '{DAV:}sync-token' => 2]);
$this->assertEquals(2, $ab->getSyncToken());
}
@@ -187,7 +187,7 @@ class AddressBookTest extends \PHPUnit_Framework_TestCase {
$backend = new Backend\PDO(
$this->getPDO()
);
- $ab = new AddressBook($backend, [ 'id' => 1, '{http://sabredav.org/ns}sync-token' => 2]);
+ $ab = new AddressBook($backend, ['id' => 1, '{http://sabredav.org/ns}sync-token' => 2]);
$this->assertEquals(2, $ab->getSyncToken());
}