1
0
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:
2017-10-23 20:10:00 -04:00
parent 2246a4bff9
commit 9b00bc8db1
2 changed files with 49 additions and 1 deletions

View File

@ -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 {