[Pkg-owncloud-commits] [php-sabredav] 25/40: Fixed unittest for real now.

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


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

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

commit 008e10e99d121d356281fa6ed393d75e727e15c2
Author: Evert Pot <me at evertpot.com>
Date:   Tue Aug 11 14:45:48 2015 -0400

    Fixed unittest for real now.
---
 tests/Sabre/CalDAV/GetEventsByTimerangeTest.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/Sabre/CalDAV/GetEventsByTimerangeTest.php b/tests/Sabre/CalDAV/GetEventsByTimerangeTest.php
index 35077d6..c524b03 100644
--- a/tests/Sabre/CalDAV/GetEventsByTimerangeTest.php
+++ b/tests/Sabre/CalDAV/GetEventsByTimerangeTest.php
@@ -73,7 +73,7 @@ END:VCALENDAR
 
         $response = $this->request($request);
 
-        $this->assertTrue(strpos($response->body, 'BEGIN:VCALENDAR'));
+        $this->assertTrue(strpos($response->body, 'BEGIN:VCALENDAR')!==false);
 
     }
 

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