[Pkg-owncloud-commits] [php-sabredav] 89/148: Covered supported-method-set.

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 a4a00298e9dcd3bdf7b70c96c8d72296b2dddee2
Author: Evert Pot <me at evertpot.com>
Date:   Tue Mar 24 11:58:27 2015 -0400

    Covered supported-method-set.
---
 tests/Sabre/DAV/Xml/Property/SupportedMethodSetTest.php | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/tests/Sabre/DAV/Xml/Property/SupportedMethodSetTest.php b/tests/Sabre/DAV/Xml/Property/SupportedMethodSetTest.php
index 75c5c02..39dea8e 100644
--- a/tests/Sabre/DAV/Xml/Property/SupportedMethodSetTest.php
+++ b/tests/Sabre/DAV/Xml/Property/SupportedMethodSetTest.php
@@ -52,5 +52,12 @@ class SupportedMethodSetTest extends DAV\AbstractServer {
 
     }
 
+    function testGetObj() {
+
+        $result = $this->server->getProperties('/', ['{DAV:}supported-method-set']);
+        $this->assertTrue($result['{DAV:}supported-method-set']->has('PROPFIND'));
+
+    }
+
 }
 

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