Issues

ZF-2765: Unit test errors on Linux without mcrypt enabled

Issue Type: Unit Tests: Problem Created: 2008-02-29T10:18:00.000+0000 Last Updated: 2008-09-02T10:39:12.000+0000 Status: Resolved Fix version(s): - 1.6.0 (02/Sep/08)

Reporter: Darby Felton (darby) Assignee: Darby Felton (darby) Tags: - Zend_InfoCard

Related issues: Attachments:

Description

Unit test errors on PHP 5.2.5 without mcrypt enabled, PHPUnit 3.2.15:

<pre class="literal">
1) testCertificatePairs(Zend_InfoCard_ProcessTest)
Zend_InfoCard_Exception: Use of the Zend_InfoCard component requires the mcrypt extension to be enabled in PHP
/home/darby/framework/trunk/tests/Zend/InfoCard/ProcessTest.php:67

2) testStandAloneProcess(Zend_InfoCard_ProcessTest)
Zend_InfoCard_Exception: Use of the Zend_InfoCard component requires the mcrypt extension to be enabled in PHP
/home/darby/framework/trunk/tests/Zend/InfoCard/ProcessTest.php:126

3) testPlugins(Zend_InfoCard_ProcessTest)
Zend_InfoCard_Exception: Use of the Zend_InfoCard component requires the mcrypt extension to be enabled in PHP
/home/darby/framework/trunk/tests/Zend/InfoCard/ProcessTest.php:138

4) testClaims(Zend_InfoCard_ProcessTest)
Zend_InfoCard_Exception: Use of the Zend_InfoCard component requires the mcrypt extension to be enabled in PHP
/home/darby/framework/trunk/tests/Zend/InfoCard/ProcessTest.php:166

5) testCipherFactory(Zend_InfoCard_CipherTest)
Use of undefined constant MCRYPT_RIJNDAEL_128 - assumed 'MCRYPT_RIJNDAEL_128'
/home/darby/framework/trunk/library/Zend/InfoCard/Cipher.php:89
/home/darby/framework/trunk/tests/Zend/InfoCard/CipherTest.php:81

Comments

Posted by Darby Felton (darby) on 2008-03-07T16:12:37.000+0000

Resolved in trunk with SVN r8678 and for 1.5.0RC2 with SVN r8679.

Posted by Darby Felton (darby) on 2008-03-12T15:09:40.000+0000

Fixed in trunk with SVN r8789, but still needs to be merged to release-1.5.

Posted by Wil Sinclair (wil) on 2008-03-25T22:02:49.000+0000

Resetting 'fix version priority' and 'fix version' to be re-evaluated for next release.

Posted by Darby Felton (darby) on 2008-04-09T10:44:12.000+0000

Resolved with SVN r9187.

Posted by Wil Sinclair (wil) on 2008-09-02T10:39:12.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