feat(trash): implementasi fitur Tong Sampah (Recycle Bin) soft deletes dan retensi otomatis 30/60/90 hari di Super Admin
This commit is contained in:
@@ -223,7 +223,7 @@ class QmaModuleTest extends TestCase
|
||||
|
||||
$response = $this->actingAs($this->qmaAdmin)->delete("/qma/vehicles/{$vehicle->id}");
|
||||
$response->assertSessionHas('success');
|
||||
$this->assertDatabaseMissing('vehicles', ['id' => $vehicle->id]);
|
||||
$this->assertSoftDeleted('vehicles', ['id' => $vehicle->id]);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user