summaryrefslogtreecommitdiffstats
path: root/tests/lib/DB/LegacyDBTest.php
diff options
context:
space:
mode:
Diffstat (limited to 'tests/lib/DB/LegacyDBTest.php')
-rw-r--r--tests/lib/DB/LegacyDBTest.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/lib/DB/LegacyDBTest.php b/tests/lib/DB/LegacyDBTest.php
index 578d28139bc..e0bb1055be1 100644
--- a/tests/lib/DB/LegacyDBTest.php
+++ b/tests/lib/DB/LegacyDBTest.php
@@ -21,7 +21,7 @@ class LegacyDBTest extends \Test\TestCase {
protected static $schema_file;
protected $test_prefix;
- public static function setUpBeforeClass() {
+ public static function setUpBeforeClass(): void {
self::$schema_file = \OC::$server->getTempManager()->getTemporaryFile();
}
@@ -56,7 +56,7 @@ class LegacyDBTest extends \Test\TestCase {
*/
private $text_table;
- protected function setUp() {
+ protected function setUp(): void {
parent::setUp();
$dbFile = \OC::$SERVERROOT.'/tests/data/db_structure.xml';
@@ -76,7 +76,7 @@ class LegacyDBTest extends \Test\TestCase {
$this->text_table = $this->test_prefix.'text_table';
}
- protected function tearDown() {
+ protected function tearDown(): void {
OC_DB::removeDBStructure(self::$schema_file);
unlink(self::$schema_file);