skipping the rijndael test if mcrypt_encrypt() is not available

This commit is contained in:
dogmatic69 2012-09-15 11:43:39 +01:00
parent ccd33782da
commit 26934236b1

View file

@ -215,6 +215,7 @@ class SecurityTest extends CakeTestCase {
* @return void
*/
public function testRijndael() {
$this->skipIf(!function_exists('mcrypt_encrypt'));
$txt = 'The quick brown fox jumped over the lazy dog.';
$key = 'DYhG93b0qyJfIxfs2guVoUubWwvniR2G0FgaC9mi';