TenantAtlas/tests/Feature/Inventory
ahmido ff671d8d4a fix(spec-079): allow non-UUID ids in inventory_links (#96)
## Why
Some Microsoft Graph / Intune identifiers are not UUIDs (e.g. scope tag id "0"). With `inventory_links.source_id` / `target_id` typed as `uuid`, PostgreSQL fails when inventory dependency extraction tries to persist those edges.

## What
- PostgreSQL migration changes `inventory_links.source_id` and `inventory_links.target_id` to `text`.
- Regression test ensures a non-UUID id ("0") can be persisted; on pgsql it also asserts the columns are `text`.

## Notes
- UUID identifiers continue to work (stored as strings).
- No UI/Filament changes.

## Testing
- `vendor/bin/sail artisan test --compact tests/Feature/Inventory/InventoryLinksNonUuidIdsTest.php`

Co-authored-by: Ahmed Darrazi <ahmeddarrazi@MacBookPro.fritz.box>
Reviewed-on: #96
2026-02-07 09:18:00 +00:00
..
InventoryLinksNonUuidIdsTest.php fix(spec-079): allow non-UUID ids in inventory_links (#96) 2026-02-07 09:18:00 +00:00
InventorySyncButtonTest.php 066-rbac-ui-enforcement-helper (#81) 2026-01-30 16:58:02 +00:00
InventorySyncServiceTest.php feat/047-inventory-foundations-nodes (#51) 2026-01-10 20:47:29 +00:00
InventorySyncStartSurfaceTest.php 058-tenant-ui-polish (#70) 2026-01-22 00:17:23 +00:00
RunInventorySyncJobTest.php feat: unify provider connection actions and notifications (#73) 2026-01-25 01:01:37 +00:00