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:
@@ -170,9 +170,9 @@ class SecurityGuardFilterTest extends TestCase
|
||||
|
||||
$response->assertRedirect();
|
||||
$response->assertSessionHas('success');
|
||||
$this->assertDatabaseMissing('security_guards', ['id' => $guardId]);
|
||||
$this->assertSoftDeleted('security_guards', ['id' => $guardId]);
|
||||
if ($userId) {
|
||||
$this->assertDatabaseMissing('users', ['id' => $userId]);
|
||||
$this->assertSoftDeleted('users', ['id' => $userId]);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user