From 35dfe260a547145b6a4d3aed1dde2c2263656bda Mon Sep 17 00:00:00 2001 From: Bill Karwin Date: Sat, 16 Oct 2010 12:36:55 -0700 Subject: [PATCH] Fix unit tests, they were not working because of namespace changes and class refactoring. --- src/Math.php | 2 +- test/DiffieHellmanTest.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Math.php b/src/Math.php index b396886..cfb0de9 100644 --- a/src/Math.php +++ b/src/Math.php @@ -22,7 +22,7 @@ /** * @namespace */ -namespace Zend\Crypt\Math; +namespace Zend\Crypt; /** * @uses Zend\Crypt\Math\BigInteger diff --git a/test/DiffieHellmanTest.php b/test/DiffieHellmanTest.php index c04a7b6..1819cd2 100644 --- a/test/DiffieHellmanTest.php +++ b/test/DiffieHellmanTest.php @@ -145,7 +145,7 @@ public function testDiffieWithBinaryFormsAndLargeIntegers_OpensslTest() public function testGenerateKeysWithUnsetPrivateKey() { - $dh = new Zend_Crypt_DiffieHellman(563, 5); + $dh = new DiffieHellman(563, 5); $dh->generateKeys(); $privateKey = $dh->getPrivateKey(); $this->assertNotNull($privateKey);