## Summary - Added `withTrashed()` to the duplicate check in `TransactionSyncService::importTransaction()` so soft-deleted transactions are not re-created on subsequent bank syncs. - Added test covering the soft-deleted transaction deduplication scenario. ## Test plan - [x] `php artisan test --filter=TransactionSyncServiceTest` — all 8 tests pass |
||
|---|---|---|
| .. | ||
| AccountMappingTest.php | ||
| AuthorizationControllerTest.php | ||
| BalanceSyncServiceTest.php | ||
| ConnectionControllerTest.php | ||
| InstitutionControllerTest.php | ||
| OpenBankingFeatureFlagTest.php | ||
| SyncBankingConnectionJobTest.php | ||
| TransactionSyncServiceTest.php | ||