refactor: completely purge SuperAdminSeeder and SampleTestingDataSeeder from database/seeders, move test mocks into tests/TestCase

This commit is contained in:
Ray1111-aa
2026-10-22 11:50:30 +07:00
parent 4937fe73aa
commit d14409a566
8 changed files with 198 additions and 262 deletions
+1
View File
@@ -14,6 +14,7 @@ class AuthenticationTest extends TestCase
{
parent::setUp();
$this->seed();
$this->seedSampleData();
}
/**
@@ -18,6 +18,7 @@ class SecurityGuardFilterTest extends TestCase
{
parent::setUp();
$this->seed();
$this->seedSampleData();
$this->adminPg = User::where('role', 'pg_admin')->first();
}
+1
View File
@@ -22,6 +22,7 @@ class VehicleActivityTest extends TestCase
// Seed data dasar
$this->seed();
$this->seedSampleData();
}
public function test_form_qr_loads_successfully_for_light_vehicle(): void
@@ -23,6 +23,7 @@ class VerificationLogFilterTest extends TestCase
{
parent::setUp();
$this->seed();
$this->seedSampleData();
$this->adminPg = User::where('role', 'pg_admin')->first();
$vehicle = Vehicle::first();