[Pkg-owncloud-commits] [php-sabredav] 02/10: Fixed tests, updated changelog for #703

David Prévot taffit at moszumanska.debian.org
Sat Sep 5 15:24:03 UTC 2015


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

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

commit ea844738e5fb8af79e384db48cf17a161b92000e
Author: Evert Pot <me at evertpot.com>
Date:   Tue Aug 11 14:22:07 2015 -0400

    Fixed tests, updated changelog for #703
---
 CHANGELOG.md                                  |  6 ++++++
 lib/DAV/Version.php                           |  2 +-
 tests/Sabre/DAV/Xml/Request/PropPatchTest.php | 16 +++++++++++-----
 3 files changed, 18 insertions(+), 6 deletions(-)

diff --git a/CHANGELOG.md b/CHANGELOG.md
index 1f7a419..06df25a 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,6 +1,12 @@
 ChangeLog
 =========
 
+3.0.4 (2015-??-??)
+------------------
+
+* #703: PropPatch in client is not correctly encoded.
+
+
 3.0.3 (2015-08-06)
 ------------------
 
diff --git a/lib/DAV/Version.php b/lib/DAV/Version.php
index f8edfe3..2f03139 100644
--- a/lib/DAV/Version.php
+++ b/lib/DAV/Version.php
@@ -14,6 +14,6 @@ class Version {
     /**
      * Full version number
      */
-    const VERSION = '3.0.3';
+    const VERSION = '3.0.4';
 
 }
diff --git a/tests/Sabre/DAV/Xml/Request/PropPatchTest.php b/tests/Sabre/DAV/Xml/Request/PropPatchTest.php
index 486d4bb..02ba305 100644
--- a/tests/Sabre/DAV/Xml/Request/PropPatchTest.php
+++ b/tests/Sabre/DAV/Xml/Request/PropPatchTest.php
@@ -24,15 +24,21 @@ class PropPatchTest extends XmlTest {
 <?xml version="1.0"?>
 <d:propertyupdate xmlns:d="DAV:">
     <d:set>
-        <d:displayname>Hello!</d:displayname>
+        <d:prop>
+            <d:displayname>Hello!</d:displayname>
+        </d:prop>
     </d:set>
     <d:remove>
-        <d:delete-me />
+        <d:prop>
+          <d:delete-me />
+        </d:prop>
     </d:remove>
     <d:set>
-        <d:some-url>
-            <d:href>/foo/bar</d:href>
-        </d:some-url>
+        <d:prop>
+            <d:some-url>
+                <d:href>/foo/bar</d:href>
+            </d:some-url>
+        </d:prop>
     </d:set>
 </d:propertyupdate>
 XML;

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