TenantAtlas/tests/Feature/ProviderConnections
ahmido 1acbf8cc54 feat(spec-088): remove tenant graphOptions legacy path (#105)
## Summary
- remove tenant-based Graph options access from runtime service paths and enforce provider-only resolution
- add `MicrosoftGraphOptionsResolver` and `ProviderConfigurationRequiredException` for centralized, actionable provider-config errors
- turn `Tenant::graphOptions()` into a fail-fast kill switch to prevent legacy runtime usage
- add and update tests (including guardrail) to enforce no reintroduction in `app/`
- update Spec 088 artifacts (`spec`, `plan`, `research`, `tasks`, checklist)

## Validation
- `vendor/bin/sail bin pint --dirty`
- `vendor/bin/sail artisan test --compact --filter=NoLegacyTenantGraphOptions`
- `vendor/bin/sail artisan test --compact tests/Feature/Filament`
- `CI=1 vendor/bin/sail artisan test --compact`

## Notes
- Branch includes the guardrail test for legacy callsite detection in `app/`.
- Full suite currently green: 1227 passed, 5 skipped.

Co-authored-by: Ahmed Darrazi <ahmeddarrazi@MacBookPro.fritz.box>
Reviewed-on: #105
2026-02-12 10:14:44 +00:00
..
CredentialLeakGuardTest.php feat: unify provider connection actions and notifications (#73) 2026-01-25 01:01:37 +00:00
ProviderComplianceSnapshotJobTest.php feat: unify provider connection actions and notifications (#73) 2026-01-25 01:01:37 +00:00
ProviderConnectionAuthorizationSpec081Test.php Spec 081: Provider connection cutover (#98) 2026-02-08 11:28:51 +00:00
ProviderConnectionAuthorizationTest.php Spec 081: Provider connection cutover (#98) 2026-02-08 11:28:51 +00:00
ProviderConnectionCutoverSpec081Test.php feat(verification): unify verification surfaces (Spec 084) (#102) 2026-02-09 11:28:09 +00:00
ProviderConnectionDefaultInvariantSpec081Test.php Spec 081: Provider connection cutover (#98) 2026-02-08 11:28:51 +00:00
ProviderConnectionEnableDisableTest.php Spec 081: Provider connection cutover (#98) 2026-02-08 11:28:51 +00:00
ProviderConnectionHealthCheckJobTest.php 085-tenant-operate-hub (#103) 2026-02-11 13:02:03 +00:00
ProviderConnectionHealthCheckStartSurfaceTest.php Spec 081: Provider connection cutover (#98) 2026-02-08 11:28:51 +00:00
ProviderConnectionViewsDbOnlyRenderingSpec081Test.php Spec 081: Provider connection cutover (#98) 2026-02-08 11:28:51 +00:00
ProviderCredentialSecurityTest.php feat: unify provider connection actions and notifications (#73) 2026-01-25 01:01:37 +00:00
ProviderGatewayRuntimeSmokeSpec081Test.php 085-tenant-operate-hub (#103) 2026-02-11 13:02:03 +00:00
ProviderOperationBlockedGuidanceSpec081Test.php feat(spec-088): remove tenant graphOptions legacy path (#105) 2026-02-12 10:14:44 +00:00
ProviderOperationConcurrencyTest.php Spec 081: Provider connection cutover (#98) 2026-02-08 11:28:51 +00:00
ProviderRbacCapabilitiesTest.php feat: unify provider connection actions and notifications (#73) 2026-01-25 01:01:37 +00:00