refactor: completely purge SuperAdminSeeder and SampleTestingDataSeeder from database/seeders, move test mocks into tests/TestCase
This commit is contained in:
@@ -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();
|
||||
}
|
||||
|
||||
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user