diff --git a/tests/Unit/Crypt/AES/InternalTest.php b/tests/Unit/Crypt/AES/InternalTest.php index c08f3b7e..4d893c05 100644 --- a/tests/Unit/Crypt/AES/InternalTest.php +++ b/tests/Unit/Crypt/AES/InternalTest.php @@ -11,7 +11,7 @@ class Unit_Crypt_AES_InternalTest extends Unit_Crypt_AES_TestCase { parent::setUpBeforeClass(); - self::ensureConstant('CRYPT_AES_ENGINE', Crypt_AES::ENGINE_INTERNAL); - self::ensureConstant('CRYPT_RIJNDAEL_ENGINE', Crypt_Rijndael::ENGINE_INTERNAL); + self::ensureConstant('CRYPT_AES_MODE', Crypt_AES::ENGINE_INTERNAL); + self::ensureConstant('CRYPT_RIJNDAEL_MODE', Crypt_Rijndael::ENGINE_INTERNAL); } } diff --git a/tests/Unit/Crypt/AES/McryptTest.php b/tests/Unit/Crypt/AES/McryptTest.php index 2b5b135e..5c589cb9 100644 --- a/tests/Unit/Crypt/AES/McryptTest.php +++ b/tests/Unit/Crypt/AES/McryptTest.php @@ -15,7 +15,7 @@ class Unit_Crypt_AES_McryptTest extends Unit_Crypt_AES_TestCase parent::setUpBeforeClass(); - self::ensureConstant('CRYPT_AES_ENGINE', Crypt_AES::ENGINE_MCRYPT); - self::ensureConstant('CRYPT_RIJNDAEL_ENGINE', Crypt_Rijndael::ENGINE_MCRYPT); + self::ensureConstant('CRYPT_AES_MODE', Crypt_AES::ENGINE_MCRYPT); + self::ensureConstant('CRYPT_RIJNDAEL_MODE', Crypt_Rijndael::ENGINE_MCRYPT); } }