diff --git a/apps/federation/tests/DbHandlerTest.php b/apps/federation/tests/DbHandlerTest.php index a812c28b6344d..552d71fef3d56 100644 --- a/apps/federation/tests/DbHandlerTest.php +++ b/apps/federation/tests/DbHandlerTest.php @@ -43,9 +43,7 @@ protected function setUp(): void { } protected function tearDown(): void { - $query = $this->connection->getQueryBuilder()->delete($this->dbTable); - $query->executeStatement() - ; + $this->connection->truncateTable($this->dbTable, false); parent::tearDown(); }