]> git.mxchange.org Git - friendica.git/blobdiff - tests/DatabaseTest.php
Merge remote-tracking branch 'upstream/2021.12-rc' into api-fixes
[friendica.git] / tests / DatabaseTest.php
index 1e581725da1893130469880ac44b5893e07d637b..cc13c4bc897d697a587daa96b2a46f7595a4763f 100644 (file)
@@ -1,6 +1,6 @@
 <?php
 /**
- * @copyright Copyright (C) 2020, Friendica
+ * @copyright Copyright (C) 2010-2021, the Friendica project
  *
  * @license GNU AGPL version 3 or any later version
  *
@@ -27,4 +27,18 @@ namespace Friendica\Test;
 abstract class DatabaseTest extends MockedTest
 {
        use DatabaseTestTrait;
+
+       protected function setUp(): void
+       {
+               $this->setUpDb();
+
+               parent::setUp();
+       }
+
+       protected function tearDown(): void
+       {
+               $this->tearDownDb();
+
+               parent::tearDown();
+       }
 }