14 lines
421 B
PHP
14 lines
421 B
PHP
<?php
|
|
|
|
it('renders the required permissions page without Graph or outbound HTTP calls', function (): void {
|
|
bindFailHardGraphClient();
|
|
|
|
[$user, $tenant] = createUserWithTenant(role: 'readonly');
|
|
|
|
assertNoOutboundHttp(function () use ($user, $tenant): void {
|
|
$this->actingAs($user)
|
|
->get("/admin/t/{$tenant->external_id}/required-permissions")
|
|
->assertSuccessful();
|
|
});
|
|
});
|