summaryrefslogtreecommitdiffstats
path: root/apps/files_encryption
diff options
context:
space:
mode:
Diffstat (limited to 'apps/files_encryption')
-rw-r--r--apps/files_encryption/tests/migration.php10
1 files changed, 7 insertions, 3 deletions
diff --git a/apps/files_encryption/tests/migration.php b/apps/files_encryption/tests/migration.php
index 80f30d4e793..8ca2e94c90a 100644
--- a/apps/files_encryption/tests/migration.php
+++ b/apps/files_encryption/tests/migration.php
@@ -23,16 +23,20 @@
use OCA\Encryption;
use OCA\Files_Encryption\Migration;
-class Test_Migration extends PHPUnit_Framework_TestCase {
+class Test_Migration extends \Test\TestCase {
- public function tearDown() {
+ protected function tearDown() {
if (OC_DB::tableExists('encryption_test')) {
OC_DB::dropTable('encryption_test');
}
$this->assertTableNotExist('encryption_test');
+
+ parent::tearDown();
}
- public function setUp() {
+ protected function setUp() {
+ parent::setUp();
+
if (OC_DB::tableExists('encryption_test')) {
OC_DB::dropTable('encryption_test');
}