[Pkg-owncloud-commits] [php-sabredav] 95/220: Forgot these changes...

David Prévot taffit at moszumanska.debian.org
Thu May 12 01:21:12 UTC 2016


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

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

commit 064a595d3b47dde1735aed5700a1b9cd8c7a9cc0
Author: Evert Pot <me at evertpot.com>
Date:   Wed Mar 23 01:29:03 2016 -0400

    Forgot these changes...
---
 tests/Sabre/DAV/Sharing/ShareResourceTest.php | 2 +-
 tests/Sabre/DAV/Xml/Property/InviteTest.php   | 8 ++++----
 2 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/tests/Sabre/DAV/Sharing/ShareResourceTest.php b/tests/Sabre/DAV/Sharing/ShareResourceTest.php
index 5a15ad9..efac845 100644
--- a/tests/Sabre/DAV/Sharing/ShareResourceTest.php
+++ b/tests/Sabre/DAV/Sharing/ShareResourceTest.php
@@ -138,7 +138,7 @@ XML;
           </d:sharee>
         </d:invite>
         <d:share-access><d:shared-owner /></d:share-access>
-        <d:share-resource-uri></d:share-resource-uri>
+        <d:share-resource-uri><d:href>urn:example:bar</d:href></d:share-resource-uri>
       </d:prop>
       <d:status>HTTP/1.1 200 OK</d:status>
     </d:propstat>
diff --git a/tests/Sabre/DAV/Xml/Property/InviteTest.php b/tests/Sabre/DAV/Xml/Property/InviteTest.php
index d7a3f85..6f8d6cc 100644
--- a/tests/Sabre/DAV/Xml/Property/InviteTest.php
+++ b/tests/Sabre/DAV/Xml/Property/InviteTest.php
@@ -18,19 +18,19 @@ class InviteTest extends XmlTest {
         ];
         $sharees[0]->href = 'mailto:foo at example.org';
         $sharees[0]->properties['{DAV:}displayname'] = 'Foo Bar';
-        $sharees[0]->shareAccess = Plugin::ACCESS_SHAREDOWNER;
+        $sharees[0]->access = Plugin::ACCESS_SHAREDOWNER;
         $sharees[0]->inviteStatus = Plugin::INVITE_ACCEPTED;
 
         $sharees[1]->href = 'mailto:bar at example.org';
-        $sharees[1]->shareAccess = Plugin::ACCESS_READ;
+        $sharees[1]->access = Plugin::ACCESS_READ;
         $sharees[1]->inviteStatus = Plugin::INVITE_DECLINED;
 
         $sharees[2]->href = 'mailto:baz at example.org';
-        $sharees[2]->shareAccess = Plugin::ACCESS_READWRITE;
+        $sharees[2]->access = Plugin::ACCESS_READWRITE;
         $sharees[2]->inviteStatus = Plugin::INVITE_NORESPONSE;
 
         $sharees[3]->href = 'mailto:zim at example.org';
-        $sharees[3]->shareAccess = Plugin::ACCESS_READWRITE;
+        $sharees[3]->access = Plugin::ACCESS_READWRITE;
         $sharees[3]->inviteStatus = Plugin::INVITE_INVALID;
 
         $invite = new Invite($sharees);

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



More information about the Pkg-owncloud-commits mailing list