964 B
964 B
LedgerOne Test Cases
Auth
- Register new user with valid email/password returns token and user id.
- Register with existing email returns error.
- Login with wrong password returns error.
- Login with valid credentials returns token and user id.
Transactions
- List transactions returns raw + derived fields for user.
- Update derived creates overlay without mutating raw.
- Update derived preserves raw transaction id and logs modifiedBy=user.
Rules Engine
- Create rule with priority stores conditions/actions JSON.
- Execute rule applies category/hidden to derived layer only.
- Rule execution logs include rule id and transaction id.
- Suggestions return patterns when at least 2 matching edits exist.
Exports
- Export CSV includes raw + derived fields for selected filters.
- Export log stored with filters + row count.
Plaid (Stub)
- Link token endpoint returns token + expiration.
- Exchange endpoint returns access token placeholder.