TenantAtlas/tests/Feature/Guards
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
..
ActionSurfaceContractTest.php feat: action-surface contract inspect affordance + clickable rows (#100) 2026-02-08 20:31:36 +00:00
ActionSurfaceValidatorTest.php feat: action-surface contract inspect affordance + clickable rows (#100) 2026-02-08 20:31:36 +00:00
NoAdHocFilamentAuthPatternsTest.php feat/066-rbac-ui-enforcement-helper-v2 (#83) 2026-01-30 17:28:47 +00:00
NoAdHocRetryInBulkWorkersTest.php 056-remove-legacy-bulkops (#65) 2026-01-19 23:27:52 +00:00
NoAdHocStatusBadgesTest.php 059-unified-badges (#71) 2026-01-22 23:44:51 +00:00
NoForbiddenTagBadgeColorsTest.php feat: tag badge catalog (060) (#72) 2026-01-23 23:05:55 +00:00
NoLegacyBulkOperationsTest.php 056-remove-legacy-bulkops (#65) 2026-01-19 23:27:52 +00:00
NoLegacyTenantGraphOptionsTest.php feat(spec-088): remove tenant graphOptions legacy path (#105) 2026-02-12 10:14:44 +00:00
NoTenantCredentialRuntimeReadsSpec081Test.php Spec 081: Provider connection cutover (#98) 2026-02-08 11:28:51 +00:00