[Pkg-owncloud-commits] [php-sabredav] 87/148: getInfo test for sync plugin.

David Prévot taffit at moszumanska.debian.org
Wed Apr 15 01:37:20 UTC 2015


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

taffit pushed a commit to branch master
in repository php-sabredav.

commit 8e695625479bb19624c7b4f0e19497113228bec1
Author: Evert Pot <me at evertpot.com>
Date:   Tue Mar 24 10:30:52 2015 -0400

    getInfo test for sync plugin.
---
 tests/Sabre/DAV/Sync/PluginTest.php | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/tests/Sabre/DAV/Sync/PluginTest.php b/tests/Sabre/DAV/Sync/PluginTest.php
index 1bb2a89..49e8741 100644
--- a/tests/Sabre/DAV/Sync/PluginTest.php
+++ b/tests/Sabre/DAV/Sync/PluginTest.php
@@ -19,6 +19,15 @@ class PluginTest extends \Sabre\DAVServerTest {
 
     }
 
+    function testGetInfo() {
+
+        $this->assertArrayHasKey(
+            'name',
+            (new Plugin())->getPluginInfo()
+        );
+
+    }
+
     function setUpTree() {
 
         $this->collection =

-- 
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