mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-12 15:35:15 +00:00
Auto commit for release 'develop' on 2024-12-30
This commit is contained in:
@@ -54,9 +54,10 @@ abstract class TestCase extends BaseTestCase
|
||||
protected function createAuthenticatedUser(): User
|
||||
{
|
||||
$group = UserGroup::create(['title' => 'test@email.com']);
|
||||
|
||||
return User::create([
|
||||
'email' => 'test@email.com',
|
||||
'password' => 'password',
|
||||
'email' => 'test@email.com',
|
||||
'password' => 'password',
|
||||
'user_group_id' => $group->id,
|
||||
]);
|
||||
}
|
||||
|
Reference in New Issue
Block a user