Commit awal: prototipe UI SIAKAD Untan
This commit is contained in:
@@ -0,0 +1,37 @@
|
||||
<?php
|
||||
|
||||
namespace Tests\Feature\Superuser;
|
||||
|
||||
use App\Enums\Role;
|
||||
use Tests\Feature\RoleDashboardTestCase;
|
||||
|
||||
class DashboardTest extends RoleDashboardTestCase
|
||||
{
|
||||
protected function role(): Role
|
||||
{
|
||||
return Role::Superuser;
|
||||
}
|
||||
|
||||
protected function userName(): string
|
||||
{
|
||||
return 'Ir. Budi Santoso, M.T.';
|
||||
}
|
||||
|
||||
protected function profileData(): array
|
||||
{
|
||||
return [
|
||||
'nip' => '197501012000121001',
|
||||
'jabatan' => 'Administrator Sistem',
|
||||
'unit_kerja' => 'Pusat Data dan Teknologi Informasi',
|
||||
];
|
||||
}
|
||||
|
||||
protected function expectedDetails(): array
|
||||
{
|
||||
return [
|
||||
'NIP' => '197501012000121001',
|
||||
'Jabatan' => 'Administrator Sistem',
|
||||
'Unit kerja' => 'Pusat Data dan Teknologi Informasi',
|
||||
];
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user