1
0
mirror of https://github.com/danog/tgseclib.git synced 2024-12-12 00:59:45 +01:00
tgseclib/tests/Unit/Crypt/AES/McryptTest.php

21 lines
512 B
PHP
Raw Normal View History

<?php
/**
* @author Andreas Fischer <bantu@phpbb.com>
* @copyright MMXIII Andreas Fischer
* @license http://www.opensource.org/licenses/mit-license.html MIT License
*/
2014-08-14 18:09:54 +02:00
class Unit_Crypt_AES_McryptTest extends Unit_Crypt_AES_TestCase
{
static public function setUpBeforeClass()
{
if (!extension_loaded('mcrypt')) {
self::markTestSkipped('mcrypt extension is not available.');
}
2014-10-16 00:59:48 +02:00
self::$engine = CRYPT_MODE_MCRYPT;
2014-10-16 00:59:48 +02:00
parent::setUpBeforeClass();
}
}