diff --git a/tests/lib/Calendar/ResourcesRoomsUpdaterTest.php b/tests/lib/Calendar/ResourcesRoomsUpdaterTest.php index 548b87222c5..5ace218a020 100644 --- a/tests/lib/Calendar/ResourcesRoomsUpdaterTest.php +++ b/tests/lib/Calendar/ResourcesRoomsUpdaterTest.php @@ -68,6 +68,7 @@ class ResourcesRoomsUpdaterTest extends TestCase { $query->delete('calendar_resources_md')->executeStatement(); $query->delete('calendar_rooms')->executeStatement(); $query->delete('calendar_rooms_md')->executeStatement(); + parent::tearDown(); } /** diff --git a/tests/lib/DB/AdapterTest.php b/tests/lib/DB/AdapterTest.php index 23ac53b0f5c..4ed4fdbd003 100644 --- a/tests/lib/DB/AdapterTest.php +++ b/tests/lib/DB/AdapterTest.php @@ -29,6 +29,7 @@ class AdapterTest extends TestCase { ->from('appconfig') ->where($qb->expr()->eq('appid', $qb->createNamedParameter($this->appId))) ->executeStatement(); + parent::tearDown(); } public function testInsertIgnoreOnConflictDuplicate(): void { diff --git a/tests/lib/Files/Config/UserMountCacheTest.php b/tests/lib/Files/Config/UserMountCacheTest.php index ddc18c44f44..c9cfccc5ee6 100644 --- a/tests/lib/Files/Config/UserMountCacheTest.php +++ b/tests/lib/Files/Config/UserMountCacheTest.php @@ -90,6 +90,7 @@ class UserMountCacheTest extends TestCase { ->where($builder->expr()->eq('fileid', new Literal($fileId))) ->executeStatement(); } + parent::tearDown(); } private function getStorage($storageId, $rootInternalPath = '') { diff --git a/tests/lib/Files/Type/LoaderTest.php b/tests/lib/Files/Type/LoaderTest.php index f9b30fbefd5..2aaf4c5067c 100644 --- a/tests/lib/Files/Type/LoaderTest.php +++ b/tests/lib/Files/Type/LoaderTest.php @@ -31,6 +31,7 @@ class LoaderTest extends TestCase { 'mimetype', $deleteMimetypes->createPositionalParameter('testing/%') )); $deleteMimetypes->executeStatement(); + parent::tearDown(); } diff --git a/tests/lib/Preview/PreviewMigrationJobTest.php b/tests/lib/Preview/PreviewMigrationJobTest.php index 0992cdc2c1f..2f769d79d24 100644 --- a/tests/lib/Preview/PreviewMigrationJobTest.php +++ b/tests/lib/Preview/PreviewMigrationJobTest.php @@ -103,6 +103,7 @@ class PreviewMigrationJobTest extends TestCase { $qb->delete('filecache') ->where($qb->expr()->eq('fileid', $qb->createNamedParameter(5))) ->executeStatement(); + parent::tearDown(); } #[TestDox('Test the migration from the legacy flat hierarchy to the new database format')] diff --git a/tests/lib/Share20/DefaultShareProviderTest.php b/tests/lib/Share20/DefaultShareProviderTest.php index 470a48adde2..1881c02c83d 100644 --- a/tests/lib/Share20/DefaultShareProviderTest.php +++ b/tests/lib/Share20/DefaultShareProviderTest.php @@ -127,6 +127,7 @@ class DefaultShareProviderTest extends \Test\TestCase { $this->dbConn->getQueryBuilder()->delete('share')->executeStatement(); $this->dbConn->getQueryBuilder()->delete('filecache')->runAcrossAllShards()->executeStatement(); $this->dbConn->getQueryBuilder()->delete('storages')->executeStatement(); + parent::tearDown(); } /** diff --git a/tests/lib/Share20/ShareByMailProviderTest.php b/tests/lib/Share20/ShareByMailProviderTest.php index bcc6c8a4977..f37e5fb9f9f 100644 --- a/tests/lib/Share20/ShareByMailProviderTest.php +++ b/tests/lib/Share20/ShareByMailProviderTest.php @@ -134,6 +134,7 @@ class ShareByMailProviderTest extends TestCase { $this->dbConn->getQueryBuilder()->delete('share')->executeStatement(); $this->dbConn->getQueryBuilder()->delete('filecache')->runAcrossAllShards()->executeStatement(); $this->dbConn->getQueryBuilder()->delete('storages')->executeStatement(); + parent::tearDown(); } /** diff --git a/tests/lib/SubAdminTest.php b/tests/lib/SubAdminTest.php index 0086415019f..7175c2dedae 100644 --- a/tests/lib/SubAdminTest.php +++ b/tests/lib/SubAdminTest.php @@ -100,6 +100,7 @@ class SubAdminTest extends \Test\TestCase { ->where($qb->expr()->eq('uid', $qb->createNamedParameter('orphanedUser'))) ->orWhere($qb->expr()->eq('gid', $qb->createNamedParameter('orphanedGroup'))) ->executeStatement(); + parent::tearDown(); } public function testCreateSubAdmin(): void {