Use database in API docs diagnostics test so Scramble can read model schemas

This commit is contained in:
Constantin Graf
2026-10-08 16:30:08 +02:00
parent e5b99da13e
commit fc274e2093

View File

@@ -12,10 +12,10 @@ use Dedoc\Scramble\Scramble;
use Illuminate\Console\Command;
use Illuminate\Support\Facades\File;
use PHPUnit\Framework\Attributes\CoversClass;
use Tests\TestCase;
use Tests\TestCaseWithDatabase;
#[CoversClass(FallbackController::class)]
class ApiDocsExportTest extends TestCase
class ApiDocsExportTest extends TestCaseWithDatabase
{
private string $path;