mirror of
https://github.com/maybe-finance/maybe.git
synced 2025-08-09 15:35:22 +02:00
Account::Sync model and test fixture simplifications (#968)
* Add sync model * Fresh fixtures for sync tests * Sync tests overhaul * Fix entry tests * Complete remaining model test updates * Update system tests * Update demo data task * Add system tests back to PR checks * More simplifications, add empty family to fixtures for easier testing
This commit is contained in:
parent
de5a2e55b3
commit
c6bdf49f10
60 changed files with 929 additions and 1353 deletions
60
test/fixtures/account/transactions.yml
vendored
60
test/fixtures/account/transactions.yml
vendored
|
@ -1,60 +1,6 @@
|
|||
# Checking account transactions
|
||||
checking_one:
|
||||
one:
|
||||
category: food_and_drink
|
||||
|
||||
checking_two:
|
||||
category: food_and_drink
|
||||
|
||||
checking_three:
|
||||
merchant: amazon
|
||||
|
||||
checking_four:
|
||||
category: income
|
||||
|
||||
checking_five:
|
||||
merchant: netflix
|
||||
|
||||
checking_six_payment: { }
|
||||
|
||||
checking_seven_transfer: { }
|
||||
|
||||
checking_eight_external_payment: { }
|
||||
|
||||
checking_nine_external_transfer: { }
|
||||
|
||||
# Savings account that has transactions and valuation overrides
|
||||
savings_one:
|
||||
category: income
|
||||
|
||||
savings_two:
|
||||
category: income
|
||||
|
||||
savings_three: { }
|
||||
|
||||
savings_four:
|
||||
category: income
|
||||
|
||||
savings_five_transfer: { }
|
||||
|
||||
# Credit card account transactions
|
||||
credit_card_one:
|
||||
category: food_and_drink
|
||||
|
||||
credit_card_two:
|
||||
category: food_and_drink
|
||||
|
||||
credit_card_three:
|
||||
merchant: amazon
|
||||
|
||||
credit_card_four_payment: { }
|
||||
|
||||
# eur_checking transactions
|
||||
eur_checking_one: { }
|
||||
eur_checking_two: { }
|
||||
eur_checking_three: { }
|
||||
|
||||
# multi_currency transactions
|
||||
multi_currency_one: { }
|
||||
multi_currency_two: { }
|
||||
multi_currency_three: { }
|
||||
multi_currency_four: { }
|
||||
transfer_out: { }
|
||||
transfer_in: { }
|
Loading…
Add table
Add a link
Reference in a new issue