create([ 'tenant_id' => $tenant->getKey(), 'display_name' => 'Contoso', 'entra_tenant_id' => fake()->uuid(), 'provider' => 'microsoft', ]); $this->actingAs($user); Bus::fake(); assertNoOutboundHttp(function () use ($tenant, $connection): void { $this->get(ProviderConnectionResource::getUrl('index', tenant: $tenant)) ->assertOk() ->assertSee('Contoso'); $this->get(ProviderConnectionResource::getUrl('edit', ['record' => $connection], tenant: $tenant)) ->assertOk() ->assertSee('Contoso'); }); Bus::assertNothingDispatched(); });