[Pkg-owncloud-commits] [php-sabredav] 25/34: Fixed test for proxy-url property change.

David Prévot taffit at moszumanska.debian.org
Wed May 27 13:57:11 UTC 2015


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

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

commit ed400c529520c4b052c426e4ff1b5842f596d990
Author: Evert Pot <me at evertpot.com>
Date:   Mon May 25 18:35:18 2015 -0400

    Fixed test for proxy-url property change.
---
 tests/Sabre/CalDAV/PluginTest.php | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/tests/Sabre/CalDAV/PluginTest.php b/tests/Sabre/CalDAV/PluginTest.php
index 9b1a922..65fbfeb 100644
--- a/tests/Sabre/CalDAV/PluginTest.php
+++ b/tests/Sabre/CalDAV/PluginTest.php
@@ -475,12 +475,12 @@ END:VCALENDAR';
         $this->assertArrayHasKey('{http://calendarserver.org/ns/}calendar-proxy-read-for', $props[0][200]);
         $prop = $props[0][200]['{http://calendarserver.org/ns/}calendar-proxy-read-for'];
         $this->assertInstanceOf('Sabre\\DAV\\Xml\\Property\\Href', $prop);
-        $this->assertEquals(array('principals/admin'), $prop->getHrefs());
+        $this->assertEquals(array('principals/admin/'), $prop->getHrefs());
 
         $this->assertArrayHasKey('{http://calendarserver.org/ns/}calendar-proxy-write-for', $props[0][200]);
         $prop = $props[0][200]['{http://calendarserver.org/ns/}calendar-proxy-write-for'];
         $this->assertInstanceOf('Sabre\\DAV\\Xml\\Property\\Href', $prop);
-        $this->assertEquals(array('principals/admin'), $prop->getHrefs());
+        $this->assertEquals(array('principals/admin/'), $prop->getHrefs());
 
         $this->assertArrayHasKey('{' . Plugin::NS_CALENDARSERVER . '}email-address-set',$props[0][200]);
         $prop = $props[0][200]['{' . Plugin::NS_CALENDARSERVER . '}email-address-set'];

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