## 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 |
||
|---|---|---|
| .. | ||
| Browser | ||
| Feature | ||
| Unit | ||
| Pest.php | ||
| TestCase.php | ||