false); $connection = ProviderConnection::factory()->create([ 'workspace_id' => (int) $tenant->workspace_id, 'tenant_id' => (int) $tenant->getKey(), 'provider' => 'microsoft', ]); $this->actingAs($user) ->get('/admin/provider-connections') ->assertForbidden(); $this->actingAs($user) ->get('/admin/provider-connections/'.$connection->getKey()) ->assertForbidden(); });