@@ -15,6 +15,6 @@ |
||
15 | 15 | |
16 | 16 | require_once dirname(__DIR__).'/vendor/autoload_runtime.php'; |
17 | 17 | |
18 | -return function (array $context) { |
|
18 | +return function(array $context) { |
|
19 | 19 | return new Kernel($context['APP_ENV'], (bool) $context['APP_DEBUG']); |
20 | 20 | }; |
@@ -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]); |