1
0
mirror of https://github.com/aclindsa/moneygo.git synced 2025-07-02 20:28:38 -04:00

testing: Add initial OFX credit card import test

This commit is contained in:
2017-11-28 20:14:38 -05:00
parent d656f15e84
commit 238809cd46
3 changed files with 46 additions and 1 deletions

View File

@ -295,6 +295,13 @@ var data = []TestData{
Type: handlers.Expense,
Name: "Expenses",
},
{
UserId: 0,
SecurityId: 0,
ParentAccountId: -1,
Type: handlers.Liability,
Name: "Credit Card",
},
},
transactions: []handlers.Transaction{
{
@ -462,6 +469,10 @@ end`,
},
},
},
"Credit Card": {
Values: []float64{0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
Series: map[string]*handlers.Series{},
},
},
},
},