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:
Ray1111-aa
2026-10-28 09:47:16 +07:00
parent cb9891b1e3
commit 926683fd34
42 changed files with 1603 additions and 26 deletions
@@ -138,7 +138,7 @@ class PhotoUploadAndCompressionTest extends TestCase
$deleteResponse = $this->actingAs($this->adminQma)->delete(route('qma.vehicles.destroy', $vehicle->id));
$deleteResponse->assertRedirect();
$this->assertDatabaseMissing('vehicles', ['id' => $vehicle->id]);
$this->assertSoftDeleted('vehicles', ['id' => $vehicle->id]);
Storage::disk('public')->assertMissing($photoPath);
}