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:
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user