fix(sidebar): group employee menus under dedicated portal karyawan section

This commit is contained in:
Ray1111-aa
2026-10-20 14:51:59 +07:00
parent dc1b117922
commit 9f9bedebe9
3 changed files with 72 additions and 30 deletions
+3
View File
@@ -39,6 +39,9 @@ class SuperAdminRbacTest extends TestCase
$response = $this->actingAs($superAdmin)->get(route('admin.dashboard'));
$response->assertOk();
$response->assertSee('Dashboard Super Admin');
$response->assertSee('PORTAL KARYAWAN');
$response->assertSee('Pemeriksaan P2H');
$response->assertSee('Timesheet');
}
public function test_non_super_admin_cannot_access_admin_dashboard(): void