1
0
mirror of https://github.com/aclindsa/moneygo.git synced 2025-07-05 21:58:39 -04:00

testing: More thoroughly test fetching account transactions

This commit is contained in:
2017-10-31 20:53:18 -04:00
parent 8ba6a3dbf2
commit 9721c04e52
2 changed files with 111 additions and 59 deletions

View File

@ -252,6 +252,25 @@ var data = []TestData{
},
},
},
handlers.Transaction{
UserId: 0,
Description: "weekly groceries",
Date: time.Date(2017, time.October, 31, 19, 10, 14, 0, time.UTC),
Splits: []*handlers.Split{
&handlers.Split{
Status: handlers.Reconciled,
AccountId: 1,
SecurityId: -1,
Amount: "-81.59",
},
&handlers.Split{
Status: handlers.Reconciled,
AccountId: 3,
SecurityId: -1,
Amount: "81.59",
},
},
},
handlers.Transaction{
UserId: 0,
Description: "Cable",