[Pkg-owncloud-commits] [php-sabredav] 22/75: Update tests according to the previous commit.
David Prévot
taffit at moszumanska.debian.org
Thu Feb 26 18:51:50 UTC 2015
This is an automated email from the git hooks/post-receive script.
taffit pushed a commit to branch master
in repository php-sabredav.
commit 3270cfba3f553e35e69893779145e0ec4667c7ae
Author: Ivan Enderlin <ivan.enderlin at hoa-project.net>
Date: Fri Nov 21 11:32:55 2014 +0100
Update tests according to the previous commit.
---
tests/Sabre/DAV/ServerSimpleTest.php | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/tests/Sabre/DAV/ServerSimpleTest.php b/tests/Sabre/DAV/ServerSimpleTest.php
index 8926243..809d61a 100644
--- a/tests/Sabre/DAV/ServerSimpleTest.php
+++ b/tests/Sabre/DAV/ServerSimpleTest.php
@@ -56,6 +56,7 @@ class ServerSimpleTest extends AbstractServer{
'Content-Type' => ['application/octet-stream'],
'Content-Length' => [13],
'Last-Modified' => [HTTP\Util::toHTTPDate(new \DateTime('@' . filemtime($this->tempDir . '/test.txt')))],
+ 'ETag' => ['"' . sha1(filemtime($this->tempDir . '/test.txt')) . '"'],
),
$this->response->getHeaders()
);
@@ -81,6 +82,7 @@ class ServerSimpleTest extends AbstractServer{
'Content-Type' => ['application/octet-stream'],
'Content-Length' => [13],
'Last-Modified' => [HTTP\Util::toHTTPDate(new \DateTime('@' . filemtime($this->tempDir . '/test.txt')))],
+ 'ETag' => ['"' . sha1(filemtime($this->tempDir . '/test.txt')) . '"'],
),
$this->response->getHeaders()
);
@@ -141,6 +143,7 @@ class ServerSimpleTest extends AbstractServer{
'Content-Type' => ['application/octet-stream'],
'Content-Length' => [13],
'Last-Modified' => [HTTP\Util::toHTTPDate(new \DateTime('@' . filemtime($this->tempDir . '/test.txt')))],
+ 'ETag' => ['"' . sha1(filemtime($this->tempDir . '/test.txt')) . '"'],
),
$this->response->getHeaders()
);
@@ -167,6 +170,7 @@ class ServerSimpleTest extends AbstractServer{
'Content-Type' => ['application/octet-stream'],
'Content-Length' => [13],
'Last-Modified' => [HTTP\Util::toHTTPDate(new \DateTime('@' . filemtime($this->tempDir . '/test.txt')))],
+ 'ETag' => ['"' . sha1(filemtime($this->tempDir . '/test.txt')) . '"'],
),
$this->response->getHeaders()
);
@@ -286,6 +290,7 @@ class ServerSimpleTest extends AbstractServer{
'Content-Type' => ['application/octet-stream'],
'Content-Length' => [13],
'Last-Modified' => [HTTP\Util::toHTTPDate(new \DateTime('@' . filemtime($this->tempDir . '/test.txt')))],
+ 'ETag' => ['"' . sha1(filemtime($this->tempDir . '/test.txt')) . '"'],
),
$this->response->getHeaders()
);
--
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