TenantAtlas/tests
ahmido a8bdfc5a77 feat: always capture policy when adding to backup (#22)
Problem: Beim Hinzufügen zu einem Backup Set kann ein lokaler “Reuse” dazu führen, dass ein Backup nicht den aktuellen Intune-Stand reflektiert, wenn last_synced_at nicht frisch ist.
Lösung: BackupService führt beim Add immer orchestrated capture aus (Graph Fetch), damit “Backup = current state” gilt.
Trotzdem kein unnötiges Version-Wachstum: PolicyCaptureOrchestrator re-used bestehende PolicyVersions via Snapshot-Hash, wenn sich nichts geändert hat.
Tests: Added BackupServiceVersionReuseTest.php
Specs: Updated spec.md + plan.md + tasks checked off.

Co-authored-by: Ahmed Darrazi <ahmeddarrazi@adsmac.local>
Reviewed-on: #22
2026-01-02 14:33:29 +00:00
..
Feature feat: always capture policy when adding to backup (#22) 2026-01-02 14:33:29 +00:00
Unit 015-policy-picker-ux (#21) 2026-01-02 13:59:15 +00:00
Pest.php feat/005-bulk-operations (#5) 2025-12-25 13:32:36 +00:00
TestCase.php feat/012-windows-update-rings (#18) 2026-01-01 10:44:17 +00:00