mirror of
https://github.com/vitodeploy/vito.git
synced 2025-04-20 02:11:36 +00:00
Adds current project ID to user seeder. (#360)
This commit is contained in:
parent
20944421de
commit
9c63b96a42
@ -22,6 +22,7 @@ public function run(): void
|
|||||||
$user = User::factory()->create([
|
$user = User::factory()->create([
|
||||||
'name' => 'Test User',
|
'name' => 'Test User',
|
||||||
'email' => 'user@example.com',
|
'email' => 'user@example.com',
|
||||||
|
'current_project_id' => Project::factory()->create(),
|
||||||
]);
|
]);
|
||||||
|
|
||||||
$this->createResources($user);
|
$this->createResources($user);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user