mirror of
https://github.com/aclindsa/moneygo.git
synced 2025-07-03 12:48:38 -04:00
testing: Add more data
This commit is contained in:
@ -138,7 +138,12 @@ func TestUpdateAccount(t *testing.T) {
|
||||
|
||||
curr.Name = "blah"
|
||||
curr.Type = handlers.Payable
|
||||
curr.SecurityId = d.securities[1].SecurityId
|
||||
for _, s := range d.securities {
|
||||
if s.UserId == curr.UserId {
|
||||
curr.SecurityId = s.SecurityId
|
||||
break
|
||||
}
|
||||
}
|
||||
|
||||
a, err := updateAccount(d.clients[orig.UserId], &curr)
|
||||
if err != nil {
|
||||
|
Reference in New Issue
Block a user