mirror of
https://github.com/aclindsa/moneygo.git
synced 2025-07-05 21:58:39 -04:00
testing: Test fetching all a user's accounts
This commit is contained in:
@ -90,7 +90,7 @@ func (t *TestData) Initialize() (*TestData, error) {
|
||||
for i, account := range t.accounts {
|
||||
account.SecurityId = t2.securities[t.accounts[i].SecurityId].SecurityId
|
||||
if account.ParentAccountId != -1 {
|
||||
account.ParentAccountId = t2.accounts[t.accounts[i].AccountId].AccountId
|
||||
account.ParentAccountId = t2.accounts[t.accounts[i].ParentAccountId].AccountId
|
||||
}
|
||||
a2, err := createAccount(t2.clients[account.UserId], &account)
|
||||
if err != nil {
|
||||
|
Reference in New Issue
Block a user