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

Move splits/transactions to store

This commit is contained in:
2017-12-08 21:27:03 -05:00
parent 61676598dd
commit da7e025509
8 changed files with 410 additions and 406 deletions

View File

@ -276,7 +276,7 @@ func TestGetTransactions(t *testing.T) {
found := false
for _, tran := range *tl.Transactions {
if tran.TransactionId == curr.TransactionId {
ensureTransactionsMatch(t, &curr, &tran, nil, true, true)
ensureTransactionsMatch(t, &curr, tran, nil, true, true)
if _, ok := foundIds[tran.TransactionId]; ok {
continue
}
@ -410,7 +410,7 @@ func helperTestAccountTransactions(t *testing.T, d *TestData, account *models.Ac
}
if atl.Transactions != nil {
for _, tran := range *atl.Transactions {
transactions = append(transactions, tran)
transactions = append(transactions, *tran)
}
lastFetchCount = int64(len(*atl.Transactions))
} else {