## Summary - Removed all `setupEncryptionKey()` / `visitWithEncryptionKey()` calls from browser tests — encryption key setup in localStorage is no longer needed since new users don't have encryption - Removed `encryption_salt` from `UserFactory::onboarded()` state and `OnboardingFlowTest` user creation - Removed `name_iv` from `Account::factory()` calls in `BankAccountsTest` - Deleted `DemoEncryptionService` and its unit test — demo command now stores plaintext account names and transaction descriptions - Removed `demoEncryptionKey` Inertia shared prop and `encryption_key` from demo config - Removed encryption helper methods from `TestCase.php` and global `setupEncryptionKey()` from `Pest.php` ## Test plan - [x] Run `php artisan test --exclude-testsuite=Browser` — all non-browser tests pass - [x] Run `php artisan test --testsuite=Browser` — browser tests pass without encryption key setup - [x] Run `php artisan demo:reset` — demo account created with plaintext data - [x] Verify existing encryption migration tests still pass (`EncryptionTest`, `DecryptTransactionsTest`, `PlaintextTransactionsTest`) |
||
|---|---|---|
| .. | ||
| DemoAutomationRulesProvider.php | ||
| DemoLabelsProvider.php | ||
| DemoTransactionsProvider.php | ||