Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

skipping the rijndael test if mcrypt_encrypt() is not available

  • Loading branch information...
commit 26934236b1a3d71f53b76115ebaeb9de32b577fe 1 parent ccd3378
@dogmatic69 dogmatic69 authored
Showing with 1 addition and 0 deletions.
  1. +1 −0  lib/Cake/Test/Case/Utility/SecurityTest.php
View
1  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';
Please sign in to comment.
Something went wrong with that request. Please try again.