mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-09-06 19:42:41 +00:00
skipping the rijndael test if mcrypt_encrypt() is not available
This commit is contained in:
parent
ccd33782da
commit
26934236b1
1 changed files with 1 additions and 0 deletions
|
@ -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';
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue