fix logic and tests, update docker CI file

This commit is contained in:
root
2026-03-09 15:58:44 -04:00
parent 1cb3573d4b
commit 79e44fe037
188 changed files with 1776 additions and 524 deletions
+15
View File
@@ -2,9 +2,24 @@
namespace Tests;
use Illuminate\Support\Facades\DB;
use Illuminate\Foundation\Testing\TestCase as BaseTestCase;
abstract class TestCase extends BaseTestCase
{
use CreatesApplication;
protected function tearDown(): void
{
try {
$connection = DB::connection();
$pdo = $connection->getPdo();
if ($pdo->inTransaction()) {
$connection->rollBack();
}
} catch (\Throwable $e) {
}
parent::tearDown();
}
}