[Pkg-owncloud-commits] [php-sabredav] 38/275: Making sure unittests pass.

David Prévot taffit at moszumanska.debian.org
Thu Sep 25 14:55:48 UTC 2014


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

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

commit 90330989d6d9db61e2bc6c0957293326623f692d
Author: Evert Pot <evert at rooftopsolutions.nl>
Date:   Thu Jan 23 20:04:18 2014 -0500

    Making sure unittests pass.
---
 tests/Sabre/CalDAV/ValidateICalTest.php | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/tests/Sabre/CalDAV/ValidateICalTest.php b/tests/Sabre/CalDAV/ValidateICalTest.php
index 683a95e..02d28d5 100644
--- a/tests/Sabre/CalDAV/ValidateICalTest.php
+++ b/tests/Sabre/CalDAV/ValidateICalTest.php
@@ -92,10 +92,12 @@ class ValidateICalTest extends \PHPUnit_Framework_TestCase {
             'Content-Length' => '0',
             'ETag' => '"' . md5("BEGIN:VCALENDAR\r\nBEGIN:VEVENT\r\nUID:foo\r\nEND:VEVENT\r\nEND:VCALENDAR\r\n") . '"',
         ), $response->headers);
+
         $expected = array(
             'uri'          => 'blabla.ics',
             'calendardata' => "BEGIN:VCALENDAR\r\nBEGIN:VEVENT\r\nUID:foo\r\nEND:VEVENT\r\nEND:VCALENDAR\r\n",
             'calendarid'   => 'calendar1',
+            'lastmodified' => null,
         );
 
         $this->assertEquals($expected, $this->calBackend->getCalendarObject('calendar1','blabla.ics'));
@@ -218,6 +220,7 @@ class ValidateICalTest extends \PHPUnit_Framework_TestCase {
             'uri'          => 'blabla.ics',
             'calendardata' => $body,
             'calendarid'   => 'calendar1',
+            'lastmodified' => null,
         );
 
         $this->assertEquals($expected, $this->calBackend->getCalendarObject('calendar1','blabla.ics'));

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