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:
@ -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",
|
||||
|
Reference in New Issue
Block a user