diff --git a/tests/Feature/ApiTokenPermissionsTest.php b/tests/Feature/ApiTokenPermissionsTest.php index b15bdbd..c8b8884 100644 --- a/tests/Feature/ApiTokenPermissionsTest.php +++ b/tests/Feature/ApiTokenPermissionsTest.php @@ -20,7 +20,7 @@ class ApiTokenPermissionsTest extends TestCase $this->markTestSkipped('API support is not enabled.'); } - $this->actingAs($user = User::factory()->withPersonalTeam()->create()); + $this->actingAs($user = User::factory()->create()); $token = $user->tokens()->create([ 'name' => 'Test Token', diff --git a/tests/Feature/CreateApiTokenTest.php b/tests/Feature/CreateApiTokenTest.php index fab69d9..6935585 100644 --- a/tests/Feature/CreateApiTokenTest.php +++ b/tests/Feature/CreateApiTokenTest.php @@ -19,7 +19,7 @@ class CreateApiTokenTest extends TestCase $this->markTestSkipped('API support is not enabled.'); } - $this->actingAs($user = User::factory()->withPersonalTeam()->create()); + $this->actingAs($user = User::factory()->create()); Livewire::test(ApiTokenManager::class) ->set(['createApiTokenForm' => [ diff --git a/tests/Feature/DeleteApiTokenTest.php b/tests/Feature/DeleteApiTokenTest.php index 1903e17..08e0109 100644 --- a/tests/Feature/DeleteApiTokenTest.php +++ b/tests/Feature/DeleteApiTokenTest.php @@ -20,7 +20,7 @@ class DeleteApiTokenTest extends TestCase $this->markTestSkipped('API support is not enabled.'); } - $this->actingAs($user = User::factory()->withPersonalTeam()->create()); + $this->actingAs($user = User::factory()->create()); $token = $user->tokens()->create([ 'name' => 'Test Token', diff --git a/tests/Feature/EmailVerificationTest.php b/tests/Feature/EmailVerificationTest.php index 5d3e336..203f585 100644 --- a/tests/Feature/EmailVerificationTest.php +++ b/tests/Feature/EmailVerificationTest.php @@ -20,7 +20,7 @@ class EmailVerificationTest extends TestCase $this->markTestSkipped('Email verification not enabled.'); } - $user = User::factory()->withPersonalTeam()->unverified()->create(); + $user = User::factory()->unverified()->create(); $response = $this->actingAs($user)->get('/email/verify'); diff --git a/tests/Feature/PasswordConfirmationTest.php b/tests/Feature/PasswordConfirmationTest.php index 34c860a..8a4ee90 100644 --- a/tests/Feature/PasswordConfirmationTest.php +++ b/tests/Feature/PasswordConfirmationTest.php @@ -12,7 +12,7 @@ class PasswordConfirmationTest extends TestCase public function test_confirm_password_screen_can_be_rendered(): void { - $user = User::factory()->withPersonalTeam()->create(); + $user = User::factory()->create(); $response = $this->actingAs($user)->get('/user/confirm-password');