getPdo(); if ($pdo->inTransaction()) { $connection->rollBack(); } } catch (\Throwable $e) { } parent::tearDown(); } }