[Pkg-owncloud-commits] [php-sabredav] 04/10: Fixed broken test

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


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

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

commit 076915928afea878472e51ba933f7ddd1d546df2
Author: Evert Pot <evert at rooftopsolutions.nl>
Date:   Fri Apr 23 19:42:50 2010 +0900

    Fixed broken test
---
 tests/Sabre/HTTP/DigestAuthTest.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/Sabre/HTTP/DigestAuthTest.php b/tests/Sabre/HTTP/DigestAuthTest.php
index 87836e8..fff3c74 100644
--- a/tests/Sabre/HTTP/DigestAuthTest.php
+++ b/tests/Sabre/HTTP/DigestAuthTest.php
@@ -123,7 +123,7 @@ class Sabre_HTTP_DigestAuthTest extends PHPUnit_Framework_TestCase {
         $this->auth->setHTTPRequest($request);
         $this->auth->init();
         
-        $this->assertFalse($this->auth->validateA1(md5($username . ':' . self::REALM . ':' . ($password . 'randomness'))));
+        $this->assertFalse($this->auth->validateA1(md5('bla' . ':' . self::REALM . ':' . ('randomness'))));
 
     }
 

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