[Pkg-owncloud-commits] [php-sabredav] 11/64: Add a test for a full synchronization after changes

David Prévot taffit at moszumanska.debian.org
Thu Dec 11 15:13:22 UTC 2014


This is an automated email from the git hooks/post-receive script.

taffit pushed a commit to tag 2.2.0alpha1
in repository php-sabredav.

commit 8d92a5cc4916e0a0663212d743b4499e89a4de68
Author: Philipp Kewisch <kewisch at oskar.fritz.box>
Date:   Fri Oct 31 10:18:33 2014 +0100

    Add a test for a full synchronization after changes
---
 tests/Sabre/CalDAV/Backend/AbstractPDOTest.php | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/tests/Sabre/CalDAV/Backend/AbstractPDOTest.php b/tests/Sabre/CalDAV/Backend/AbstractPDOTest.php
index 54fbc92..27eb901 100644
--- a/tests/Sabre/CalDAV/Backend/AbstractPDOTest.php
+++ b/tests/Sabre/CalDAV/Backend/AbstractPDOTest.php
@@ -684,6 +684,14 @@ abstract class AbstractPDOTest extends \PHPUnit_Framework_TestCase {
             'added'     => ["todo3.ics"],
         ], $result);
 
+        $result = $backend->getChangesForCalendar($id, null, 1);
+
+        $this->assertEquals([
+            'syncToken' => 6,
+            'modified' => [],
+            'deleted' => [],
+            'added' => ["todo1.ics", "todo3.ics"],
+        ], $result);
     }
 
     function testCreateSubscriptions() {

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-owncloud/php-sabredav.git



More information about the Pkg-owncloud-commits mailing list