Renamed jetstream team to organization

This commit is contained in:
Constantin Graf
2024-01-21 19:52:19 +01:00
parent 6377df1f44
commit 0a8d958ccc
63 changed files with 461 additions and 329 deletions

View File

@@ -14,7 +14,7 @@ class RemoveTeamMemberTest extends TestCase
public function test_team_members_can_be_removed_from_teams(): void
{
$this->actingAs($user = User::factory()->withPersonalTeam()->create());
$this->actingAs($user = User::factory()->withPersonalOrganization()->create());
$user->currentTeam->users()->attach(
$otherUser = User::factory()->create(), ['role' => 'admin']
@@ -27,7 +27,7 @@ class RemoveTeamMemberTest extends TestCase
public function test_only_team_owner_can_remove_team_members(): void
{
$user = User::factory()->withPersonalTeam()->create();
$user = User::factory()->withPersonalOrganization()->create();
$user->currentTeam->users()->attach(
$otherUser = User::factory()->create(), ['role' => 'admin']