@@ -30,7 +30,7 @@ |
||
| 30 | 30 | } |
| 31 | 31 | } |
| 32 | 32 | |
| 33 | - protected function iHaveProfileForUser(UserInterface $user, string $nama='Nama Profile', string $jabatan = 'Staff'): Profile |
|
| 33 | + protected function iHaveProfileForUser(UserInterface $user, string $nama = 'Nama Profile', string $jabatan = 'Staff'): Profile |
|
| 34 | 34 | { |
| 35 | 35 | $em = $this->getEntityManager(); |
| 36 | 36 | $profile = $em->getRepository(Profile::class) |
@@ -46,7 +46,7 @@ |
||
| 46 | 46 | return static::createClient([], ['headers' => ['authorization' => 'Bearer '.$token]]); |
| 47 | 47 | } |
| 48 | 48 | |
| 49 | - protected function iHaveUser(string $username = 'test', string $email='[email protected]', string $password = 'test'): UserInterface |
|
| 49 | + protected function iHaveUser(string $username = 'test', string $email = '[email protected]', string $password = 'test'): UserInterface |
|
| 50 | 50 | { |
| 51 | 51 | $repo = $this->getUserRepository(); |
| 52 | 52 | $user = $repo->findOneBy(['username' => $username]); |