[Pkg-owncloud-commits] [php-sabredav] 246/275: Fixed test for hhvm.

David Prévot taffit at moszumanska.debian.org
Thu Sep 25 14:56:15 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 af1210c0ea96f4ec10cabdbdcb6d32f26cbd1c45
Author: Evert Pot <evert at rooftopsolutions.nl>
Date:   Tue Sep 16 01:46:01 2014 +0100

    Fixed test for hhvm.
---
 tests/Sabre/CalDAV/ValidateICalTest.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/Sabre/CalDAV/ValidateICalTest.php b/tests/Sabre/CalDAV/ValidateICalTest.php
index 0d66404..ebbc894 100644
--- a/tests/Sabre/CalDAV/ValidateICalTest.php
+++ b/tests/Sabre/CalDAV/ValidateICalTest.php
@@ -275,7 +275,7 @@ class ValidateICalTest extends \PHPUnit_Framework_TestCase {
         $response = $this->request($request);
 
         $this->assertEquals(201, $response->status, 'Incorrect status returned! Full response body: ' . $response->body);
-        $this->assertFalse(isset($response->headers['ETag']));
+        $this->assertNull($response->getHeader('ETag'));
 
     }
 }

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