1.1 KiB
1.1 KiB
Quickstart: Backup/Restore UI Graph-Safety (048)
This quickstart is for validating the UI render Graph-safety guardrails locally.
Prerequisites
- Laravel Sail running (recommended)
- Database migrated
Local setup (Sail)
- Start Sail
./vendor/bin/sail up -d
- Run migrations
./vendor/bin/sail artisan migrate
Run the targeted tests (once implemented)
./vendor/bin/sail artisan test tests/Feature/Filament/BackupSetGraphSafetyTest.php./vendor/bin/sail artisan test tests/Feature/Filament/RestoreWizardGraphSafetyTest.php
Or run both in one command:
./vendor/bin/sail artisan test tests/Feature/Filament/BackupSetGraphSafetyTest.php tests/Feature/Filament/RestoreWizardGraphSafetyTest.php
Or run via glob:
./vendor/bin/sail artisan test tests/Feature/Filament/*GraphSafety*Test.php
Formatting
./vendor/bin/pint --dirty
Notes
- These guard tests intentionally fail if any Backup/Restore page render path touches
App\\Services\\Graph\\GraphClientInterface. - Graph credentials are not required for this phase; tests should pass with Graph effectively disabled.