add notifications logic and add support of both JWT and Sanctum
This commit is contained in:
@@ -39,4 +39,12 @@ class AttendancePolicyServiceTest extends TestCase
|
||||
|
||||
$this->assertTrue($isAdmin);
|
||||
}
|
||||
|
||||
public function test_can_manage_early_dismissals_for_teacher(): void
|
||||
{
|
||||
$service = new AttendancePolicyService();
|
||||
$allowed = $service->canManageEarlyDismissals(['Teacher']);
|
||||
|
||||
$this->assertTrue($allowed);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user