Zend Framework

testNoResolvers(Zend_Auth_Adapter_Http_ObjectTest) unit test problem

Details

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

Description

testNoResolvers(Zend_Auth_Adapter_Http_ObjectTest) unit test fails with the following report:

1) testNoResolvers(Zend_Auth_Adapter_Http_ObjectTest)
Tried Digest authentication without a resolver.
Invalid or absent credentials; challenging client
/home/cawa/ZendFramework/svn/framework/branches/release-1.5/tests/Zend/Auth/Adapter/Http/ObjectTest.php:259
/home/cawa/ZendFramework/svn/framework/branches/release-1.5/tests/AllTests.php:51
/home/cawa/ZendFramework/svn/framework/branches/release-1.5/tests/AllTests.php:65

  1. ObjectTest.php.diff
    26/Jul/08 2:18 PM
    5 kB
    Alexander Veremyev
  2. Zend_Auth_Adapter_Http.php.diff
    26/Jul/08 2:18 PM
    1 kB
    Alexander Veremyev

Activity

Hide
Alexander Veremyev added a comment -

It seems the problem is caused by incomplete merge from the trunk.

ZF-3092 has commit with a revision number 9403 and 9404 (not actually attached to the issue, but mentioned in the merge commit and also links to the issue from the commit message).

ZF-3092 also has commit with a revision number 9477 which merges trunk changes into the release-1.5 branch.

Both commits affect only two files:
Zend/Auth/Adapter/Http/ObjectTest.php
library/Zend/Auth/Adapter/Http.php

These files are identical in the trunk and in the release branch (accurate within @version tag) before these commits.

9403 + 9404 and 9477 are the latest updates for these files in both branches but they are different now.

Diffs between release-1.5 branch and trunk are exactly the same as differences between 9403 + 9404 and 9477 changesets (see attachments).

Show
Alexander Veremyev added a comment - It seems the problem is caused by incomplete merge from the trunk. ZF-3092 has commit with a revision number 9403 and 9404 (not actually attached to the issue, but mentioned in the merge commit and also links to the issue from the commit message). ZF-3092 also has commit with a revision number 9477 which merges trunk changes into the release-1.5 branch. Both commits affect only two files: Zend/Auth/Adapter/Http/ObjectTest.php library/Zend/Auth/Adapter/Http.php These files are identical in the trunk and in the release branch (accurate within @version tag) before these commits. 9403 + 9404 and 9477 are the latest updates for these files in both branches but they are different now. Diffs between release-1.5 branch and trunk are exactly the same as differences between 9403 + 9404 and 9477 changesets (see attachments).
Hide
Alexander Veremyev added a comment -

Fixed.

Both files are copied from the trunk:
Zend/Auth/Adapter/Http/ObjectTest.php
library/Zend/Auth/Adapter/Http.php

Show
Alexander Veremyev added a comment - Fixed. Both files are copied from the trunk: Zend/Auth/Adapter/Http/ObjectTest.php library/Zend/Auth/Adapter/Http.php

People

Vote (0)
Watch (0)

Dates

  • Created:
    Updated:
    Resolved: