1
0
mirror of https://github.com/aclindsa/moneygo.git synced 2025-07-03 20:58:39 -04:00

Split prices into models

This commit is contained in:
2017-12-04 21:05:17 -05:00
parent 128ea57c4d
commit 5f296e8669
7 changed files with 76 additions and 66 deletions

View File

@ -38,7 +38,7 @@ type TestData struct {
users []User
clients []*http.Client
securities []models.Security
prices []handlers.Price
prices []models.Price
accounts []models.Account // accounts must appear after their parents in this slice
transactions []models.Transaction
reports []handlers.Report
@ -209,7 +209,7 @@ var data = []TestData{
AlternateId: "978",
},
},
prices: []handlers.Price{
prices: []models.Price{
{
SecurityId: 1,
CurrencyId: 0,