summaryrefslogtreecommitdiffstats
path: root/tests/lib/security/crypto.php
diff options
context:
space:
mode:
Diffstat (limited to 'tests/lib/security/crypto.php')
-rw-r--r--tests/lib/security/crypto.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/lib/security/crypto.php b/tests/lib/security/crypto.php
index 0f89253839e..1571cf89248 100644
--- a/tests/lib/security/crypto.php
+++ b/tests/lib/security/crypto.php
@@ -8,7 +8,7 @@
use \OC\Security\Crypto;
-class CryptoTest extends \PHPUnit_Framework_TestCase {
+class CryptoTest extends \Test\TestCase {
public function defaultEncryptionProvider()
{
@@ -23,6 +23,7 @@ class CryptoTest extends \PHPUnit_Framework_TestCase {
protected $crypto;
protected function setUp() {
+ parent::setUp();
$this->crypto = new Crypto(\OC::$server->getConfig(), \OC::$server->getSecureRandom());
}