mirror of
https://github.com/maybe-finance/maybe.git
synced 2025-08-07 22:45:20 +02:00
Prepare fixture data for account sync tests (#493)
* Rename account balance field for clarity `original_balance` and `original_currency` may infer that these values are "original" to the account. In reality, they represent the "current" balance and currency on the account. * Prepare fixture data for account sync testing * Update to new field * Fix conflicts * Remove local schema change
This commit is contained in:
parent
d3b326d273
commit
7d48c01833
37 changed files with 230 additions and 265 deletions
29
test/fixtures/accounts.yml
vendored
29
test/fixtures/accounts.yml
vendored
|
@ -1,14 +1,23 @@
|
|||
dylan_checking:
|
||||
# No transactions, no valuations, just a generic account
|
||||
generic:
|
||||
family: dylan_family
|
||||
name: Bob's Checking
|
||||
original_balance: 1200
|
||||
name: No history, generic account
|
||||
balance: 1200
|
||||
|
||||
dylan_roth:
|
||||
# Account with only valuations
|
||||
collectible:
|
||||
family: dylan_family
|
||||
name: Bob's Roth IRA
|
||||
original_balance: 1200
|
||||
name: Collectible Account
|
||||
balance: 500
|
||||
|
||||
richards_savings:
|
||||
family: richards_family
|
||||
name: Keef's HYSA
|
||||
original_balance: 1500
|
||||
# Account with only transactions
|
||||
checking:
|
||||
family: dylan_family
|
||||
name: Checking Account
|
||||
balance: 5000
|
||||
|
||||
# Account with both transactions and valuations
|
||||
savings_with_valuation_overrides:
|
||||
family: dylan_family
|
||||
name: Savings account with valuation overrides
|
||||
balance: 20000
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue