Zend Framework

Zend_Auth_Adapter_Http_AuthTest failures

Details

  • Type: Unit Tests: Problem Unit Tests: Problem
  • Status: Resolved Resolved
  • Priority: Major Major
  • Resolution: Fixed
  • Affects Version/s: 1.5.3, 1.6.0RC2
  • Fix Version/s: 1.0.4
  • Component/s: Zend_Auth
  • Labels:
    None
  • Fix Version Priority:
    Must Have

Description

I get failures from Zend_Auth_Adapter_Http_AuthTest, and they appear to be caused by the same reason:

1) testBasicChallenge(Zend_Auth_Adapter_Http_AuthTest)
Failed asserting that two strings are equal.
expected string <WWW-Authenticate>
difference      < xx>
got string      <Www-Authenticate>
c:\Documents and Settings\dfelton\My Documents\SVN Remote\Zend Framework\trunk\tests\Zend\Auth\Adapter\Http\AuthTest.php
:454
c:\Documents and Settings\dfelton\My Documents\SVN Remote\Zend Framework\trunk\tests\Zend\Auth\Adapter\Http\AuthTest.php
:144

2) testDigestChallenge(Zend_Auth_Adapter_Http_AuthTest)
Failed asserting that two strings are equal.
expected string <WWW-Authenticate>
difference      < xx>
got string      <Www-Authenticate>
c:\Documents and Settings\dfelton\My Documents\SVN Remote\Zend Framework\trunk\tests\Zend\Auth\Adapter\Http\AuthTest.php
:454
c:\Documents and Settings\dfelton\My Documents\SVN Remote\Zend Framework\trunk\tests\Zend\Auth\Adapter\Http\AuthTest.php
:157

3) testBothChallenges(Zend_Auth_Adapter_Http_AuthTest)
Failed asserting that two strings are equal.
expected string <WWW-Authenticate>
difference      < xx>
got string      <Www-Authenticate>
c:\Documents and Settings\dfelton\My Documents\SVN Remote\Zend Framework\trunk\tests\Zend\Auth\Adapter\Http\AuthTest.php
:179

4) testBasicAuthBadCreds(Zend_Auth_Adapter_Http_AuthTest)
Failed asserting that two strings are equal.
expected string <WWW-Authenticate>
difference      < xx>
got string      <Www-Authenticate>
c:\Documents and Settings\dfelton\My Documents\SVN Remote\Zend Framework\trunk\tests\Zend\Auth\Adapter\Http\AuthTest.php
:454
c:\Documents and Settings\dfelton\My Documents\SVN Remote\Zend Framework\trunk\tests\Zend\Auth\Adapter\Http\AuthTest.php
:204

5) testBasicAuthBadUser(Zend_Auth_Adapter_Http_AuthTest)
Failed asserting that two strings are equal.
expected string <WWW-Authenticate>
difference      < xx>
got string      <Www-Authenticate>
c:\Documents and Settings\dfelton\My Documents\SVN Remote\Zend Framework\trunk\tests\Zend\Auth\Adapter\Http\AuthTest.php
:454
c:\Documents and Settings\dfelton\My Documents\SVN Remote\Zend Framework\trunk\tests\Zend\Auth\Adapter\Http\AuthTest.php
:216

6) testBasicAuthBadPassword(Zend_Auth_Adapter_Http_AuthTest)
Failed asserting that two strings are equal.
expected string <WWW-Authenticate>
difference      < xx>
got string      <Www-Authenticate>
c:\Documents and Settings\dfelton\My Documents\SVN Remote\Zend Framework\trunk\tests\Zend\Auth\Adapter\Http\AuthTest.php
:454
c:\Documents and Settings\dfelton\My Documents\SVN Remote\Zend Framework\trunk\tests\Zend\Auth\Adapter\Http\AuthTest.php
:228

7) testDigestAuthBadCreds(Zend_Auth_Adapter_Http_AuthTest)
Failed asserting that two strings are equal.
expected string <WWW-Authenticate>
difference      < xx>
got string      <Www-Authenticate>
c:\Documents and Settings\dfelton\My Documents\SVN Remote\Zend Framework\trunk\tests\Zend\Auth\Adapter\Http\AuthTest.php
:454
c:\Documents and Settings\dfelton\My Documents\SVN Remote\Zend Framework\trunk\tests\Zend\Auth\Adapter\Http\AuthTest.php
:271

8) testDigestAuthBadCreds2(Zend_Auth_Adapter_Http_AuthTest)
Failed asserting that two strings are equal.
expected string <WWW-Authenticate>
difference      < xx>
got string      <Www-Authenticate>
c:\Documents and Settings\dfelton\My Documents\SVN Remote\Zend Framework\trunk\tests\Zend\Auth\Adapter\Http\AuthTest.php
:454
c:\Documents and Settings\dfelton\My Documents\SVN Remote\Zend Framework\trunk\tests\Zend\Auth\Adapter\Http\AuthTest.php
:283

9) testDigestTampered(Zend_Auth_Adapter_Http_AuthTest)
Failed asserting that two strings are equal.
expected string <WWW-Authenticate>
difference      < xx>
got string      <Www-Authenticate>
c:\Documents and Settings\dfelton\My Documents\SVN Remote\Zend Framework\trunk\tests\Zend\Auth\Adapter\Http\AuthTest.php
:454
c:\Documents and Settings\dfelton\My Documents\SVN Remote\Zend Framework\trunk\tests\Zend\Auth\Adapter\Http\AuthTest.php
:300

FAILURES!
Tests: 45, Failures: 9.

Issue Links

Activity

Hide
Darby Felton added a comment -

Bryce Lohr resolved this for next minor release with SVN r8269.

Show
Darby Felton added a comment - Bryce Lohr resolved this for next minor release with SVN r8269.
Hide
Darby Felton added a comment -

Resolved for next mini-release with SVN r8286.

Show
Darby Felton added a comment - Resolved for next mini-release with SVN r8286.

People

Vote (0)
Watch (1)

Dates

  • Created:
    Updated:
    Resolved:

Time Tracking

Estimated:
2h
Original Estimate - 2 hours
Remaining:
2h
Remaining Estimate - 2 hours
Logged:
Not Specified
Time Spent - Not Specified