From 26934236b1a3d71f53b76115ebaeb9de32b577fe Mon Sep 17 00:00:00 2001 From: dogmatic69 Date: Sat, 15 Sep 2012 11:43:39 +0100 Subject: [PATCH] skipping the rijndael test if mcrypt_encrypt() is not available --- lib/Cake/Test/Case/Utility/SecurityTest.php | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/Cake/Test/Case/Utility/SecurityTest.php b/lib/Cake/Test/Case/Utility/SecurityTest.php index 153d1ad57ea..ea7d6fa2974 100644 --- a/lib/Cake/Test/Case/Utility/SecurityTest.php +++ b/lib/Cake/Test/Case/Utility/SecurityTest.php @@ -215,6 +215,7 @@ public function testCipherEmptyKey() { * @return void */ public function testRijndael() { + $this->skipIf(!function_exists('mcrypt_encrypt')); $txt = 'The quick brown fox jumped over the lazy dog.'; $key = 'DYhG93b0qyJfIxfs2guVoUubWwvniR2G0FgaC9mi';