mirror of
https://github.com/solidtime-io/solidtime.git
synced 2026-08-12 02:02:15 +01:00
Replaces all Jetstream model trait functions and relations
This commit is contained in:
@@ -120,7 +120,7 @@ class UserFactory extends Factory
|
||||
|
||||
$organization->owner()->associate($user);
|
||||
$organization->users()->attach($user, ['role' => Role::Owner->value]);
|
||||
$user->currentTeam()->associate($organization);
|
||||
$user->currentOrganization()->associate($organization);
|
||||
$user->save();
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user