ZF-7395: Zend_Amf_AuthTest::testNoAcl and testClassAclDenied fail

Issue Type: Unit Tests: Problem Created: 2009-07-27T09:01:40.000+0000 Last Updated: 2012-11-20T20:52:44.000+0000 Status: Closed Fix version(s): Reporter: Keno Fischer (loladiro) Assignee: None Tags: - Zend_Amf

Related issues: Attachments:


Zend_Amf_AuthTest::testNoAcl and testClassAclDenied fail, because they make use of Zend_Session but they don't set Zend_Session::$_unitTestEnabled to true. (ZF 1.9 beta 1)


Posted by Matthew Weier O'Phinney (matthew) on 2009-07-27T09:34:38.000+0000

I've run the tests both under PHP 5.2.10 and PHP 5.3.0, and cannot confirm the test failures; all tests pass for me.

What OS are you running, and what versions of PHP and PHPUnit? And can you try testing against current trunk? Many fixes to the testbed have been made since the beta was packaged.

Posted by Keno Fischer (loladiro) on 2009-07-27T09:41:51.000+0000

I'm running Windows XP with PHP 5.3.0 an PHPUnit 3.4.0beta5. I haven't tried the current trunk but I will now do so.

Posted by Keno Fischer (loladiro) on 2009-07-27T10:06:34.000+0000

I just checked current trunk, but output still is the same:

<pre class="literal">
1) Zend_Amf_AuthTest::testNoAcl
Failed asserting that  contains "not allowed".

2) Zend_Amf_AuthTest::testClassAclDenied
Failed asserting that  contains "not allowed".

Posted by Rob Allen (rob) on 2012-11-20T20:52:44.000+0000

Bulk change of all issues last updated before 1st January 2010 as "Won't Fix".

Feel free to re-open and provide a patch if you want to fix this issue.

Have you found an issue?

See the Overview section for more details.


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

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