actingAs($user); expect(Gate::allows('provider.view', $tenant))->toBe($canView); expect(Gate::allows('provider.manage', $tenant))->toBe($canManage); expect(Gate::allows('provider.run', $tenant))->toBe($canRun); })->with([ 'owner' => ['owner', true, true, true], 'manager' => ['manager', true, true, true], 'operator' => ['operator', true, false, true], 'readonly' => ['readonly', true, false, false], ]);