Skip to content

Commit

Permalink
skipping the rijndael test if mcrypt_encrypt() is not available
Browse files Browse the repository at this point in the history
  • Loading branch information
dogmatic69 committed Sep 15, 2012
1 parent ccd3378 commit 2693423
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/Cake/Test/Case/Utility/SecurityTest.php
Expand Up @@ -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';

Expand Down

0 comments on commit 2693423

Please sign in to comment.