Commit awal: prototipe UI SIAKAD Untan
This commit is contained in:
@@ -0,0 +1,37 @@
|
||||
<?php
|
||||
|
||||
namespace Tests\Feature\Mahasiswa;
|
||||
|
||||
use App\Enums\Role;
|
||||
use Tests\Feature\RoleDashboardTestCase;
|
||||
|
||||
class DashboardTest extends RoleDashboardTestCase
|
||||
{
|
||||
protected function role(): Role
|
||||
{
|
||||
return Role::Mahasiswa;
|
||||
}
|
||||
|
||||
protected function userName(): string
|
||||
{
|
||||
return 'Muhammad Rizky Ramadhan';
|
||||
}
|
||||
|
||||
protected function profileData(): array
|
||||
{
|
||||
return [
|
||||
'nim' => 'D1041211001',
|
||||
'angkatan' => 2021,
|
||||
'status' => 'aktif',
|
||||
];
|
||||
}
|
||||
|
||||
protected function expectedDetails(): array
|
||||
{
|
||||
return [
|
||||
'NIM' => 'D1041211001',
|
||||
'Angkatan' => '2021',
|
||||
'Status' => 'aktif',
|
||||
];
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user