Issues

ZF-3766: A set of Zend_Session unit tests failures, which appear if non-system php is used to run unit tests.

Issue Type: Unit Tests: Problem Created: 2008-07-26T10:51:42.000+0000 Last Updated: 2008-09-02T10:39:39.000+0000 Status: Resolved Fix version(s): - 1.6.0 (02/Sep/08)

Reporter: Alexander Veremyev (alexander) Assignee: Alexander Veremyev (alexander) Tags: - Zend_Session

Related issues: Attachments:

Description

The test output:

{panel} 1) testSetExpirationSeconds(Zend_SessionTest) iteration over default Zend_Session namespace failed; expecting result === ';a === apple;o === orange;p === pear', but got 'Usage: /home/cawa/ZendFramework/svn/framework/trunk/t ests/Zend/Session/SessionTestHelper.php ' Failed asserting that is true. iteration over default Zend_Session namespace failed; expecting result === ';a === apple;o === orange;p === pear', but got 'Usage: /home/cawa/ZendFramework/svn/framework/trunk/t ests/Zend/Session/SessionTestHelper.php ' Failed asserting that is true.

  1. testSetExpireSessionHops(Zend_SessionTest) iteration over default Zend_Session namespace failed (result=''; hop #1) Failed asserting that is true. iteration over default Zend_Session namespace failed (result=''; hop #1) Failed asserting that is true.

  2. testSetExpireSessionVarsByHops1(Zend_SessionTest) iteration over named Zend_Session namespace failed (result=''; hop #1) Failed asserting that is true. iteration over named Zend_Session namespace failed (result=''; hop #1) Failed asserting that is true.

  3. testSetExpireSessionVarsByHops2(Zend_SessionTest) iteration over named Zend_Session namespace failed (result=''; hop #1) Failed asserting that is true. iteration over named Zend_Session namespace failed (result=''; hop #1) Failed asserting that is true.

  4. testSetExpireSessionVarsByHopsOnUse(Zend_SessionTest) unexpected results iterating over named Zend_Session namespace (result=''; expected ';g === guava;p === plum'; hop #1) Failed asserting that is true. unexpected results iterating over named Zend_Session namespace (result=''; expected ';g === guava;p === plum'; hop #1) Failed asserting that is true. {panel}

Note! The output is very similar to [ZF-2629] issue, but it's another problem coused by different environment for the tests and Zend_session test helper script.

Comments

Posted by Alexander Veremyev (alexander) on 2008-07-26T11:07:31.000+0000

Fixed for the trunk, release-1.5 and release-1.6 branches.

Posted by Wil Sinclair (wil) on 2008-09-02T10:39:38.000+0000

Updating for the 1.6.0 release.

Have you found an issue?

See the Overview section for more details.

Copyright

© 2006-2016 by Zend, a Rogue Wave Company. Made with by awesome contributors.

This website is built using zend-expressive and it runs on PHP 7.

Contacts