[Pkg-owncloud-commits] [php-sabredav] 14/23: Fixed tests for updated version string

David Prévot taffit at moszumanska.debian.org
Sat Nov 30 15:44:01 UTC 2013


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

taffit pushed a commit to tag version-1.0.12
in repository php-sabredav.

commit a78ed5d01f1d56d96f03dd268e428999f20e5534
Author: Evert Pot <evert at rooftopsolutions.nl>
Date:   Mon Mar 29 19:12:59 2010 +0900

    Fixed tests for updated version string
---
 tests/Sabre/DAV/ServerPluginTest.php | 2 +-
 tests/Sabre/DAV/ServerSimpleTest.php | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/tests/Sabre/DAV/ServerPluginTest.php b/tests/Sabre/DAV/ServerPluginTest.php
index 91a6e8f..561e044 100644
--- a/tests/Sabre/DAV/ServerPluginTest.php
+++ b/tests/Sabre/DAV/ServerPluginTest.php
@@ -34,7 +34,7 @@ class Sabre_DAV_ServerPluginTest extends Sabre_DAV_AbstractServer {
             'Allow'          => 'OPTIONS, GET, HEAD, DELETE, TRACE, PROPFIND, MKCOL, PUT, PROPPATCH, COPY, MOVE, REPORT, BEER, WINE',
             'Accept-Ranges'  => 'bytes',
             'Content-Length' =>  '0',
-            'X-Sabre-Version' => Sabre_DAV_Version::VERSION . '-' . Sabre_DAV_Version::STABILITY,
+            'X-Sabre-Version' => Sabre_DAV_Version::VERSION,
         ),$this->response->headers);
 
         $this->assertEquals('HTTP/1.1 200 Ok',$this->response->status);
diff --git a/tests/Sabre/DAV/ServerSimpleTest.php b/tests/Sabre/DAV/ServerSimpleTest.php
index a330e00..77ad2c7 100644
--- a/tests/Sabre/DAV/ServerSimpleTest.php
+++ b/tests/Sabre/DAV/ServerSimpleTest.php
@@ -247,7 +247,7 @@ class Sabre_DAV_ServerSimpleTest extends Sabre_DAV_AbstractServer{
             'Allow'          => 'OPTIONS, GET, HEAD, DELETE, TRACE, PROPFIND, MKCOL, PUT, PROPPATCH, COPY, MOVE, REPORT',
             'Accept-Ranges'  => 'bytes',
             'Content-Length' => '0',
-            'X-Sabre-Version' => Sabre_DAV_Version::VERSION . '-' . Sabre_DAV_Version::STABILITY,
+            'X-Sabre-Version' => Sabre_DAV_Version::VERSION,
         ),$this->response->headers);
 
         $this->assertEquals('HTTP/1.1 200 Ok',$this->response->status);

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