AES: more unit test fixes

This commit is contained in:
terrafrost 2014-08-14 10:37:10 -05:00
parent 42e5c6845c
commit 3fdd5731d1
2 changed files with 3 additions and 3 deletions

View File

@ -5,7 +5,7 @@
* @license http://www.opensource.org/licenses/mit-license.html MIT License * @license http://www.opensource.org/licenses/mit-license.html MIT License
*/ */
abstract class Unit_Crypt_AES_Test extends PhpSeclibTestcase abstract class Unit_Crypt_AES_TestCase extends PhpSeclibTestcase
{ {
static public function setUpBeforeClass() static public function setUpBeforeClass()
{ {
@ -102,4 +102,4 @@ abstract class Unit_Crypt_AES_Test extends PhpSeclibTestcase
$ciphertext = $aes->encrypt(pack('H*', '3243f6a8885a308d313198a2e0370734')); $ciphertext = $aes->encrypt(pack('H*', '3243f6a8885a308d313198a2e0370734'));
$this->assertEquals($ciphertext, pack('H*', 'c109292b173f841b88e0ee49f13db8c0')); $this->assertEquals($ciphertext, pack('H*', 'c109292b173f841b88e0ee49f13db8c0'));
} }
} }

View File

@ -5,7 +5,7 @@
* @license http://www.opensource.org/licenses/mit-license.html MIT License * @license http://www.opensource.org/licenses/mit-license.html MIT License
*/ */
class Unit_Crypt_AES_mcryptTest extends Unit_Crypt_AES_mcryptCase class Unit_Crypt_AES_mcryptTest extends Unit_Crypt_AES_TestCase
{ {
static public function setUpBeforeClass() static public function setUpBeforeClass()
{ {