Merge pull request #849 from dogmatic69/rijndael-fatal-error

skipping the rijndael test if mcrypt_encrypt() is not available
This commit is contained in:
Mark Story 2012-09-15 18:00:07 -07:00
commit cdfead0feb

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';