get the vouchers list and store in gdbm
This commit is contained in:
@@ -25,7 +25,7 @@ func (m *MockAccountService) CheckAccountStatus(trackingId string) (string, erro
|
||||
return args.String(0), args.Error(1)
|
||||
}
|
||||
|
||||
func (m *MockAccountService) FetchVouchersFromAPI() ([]models.VoucherHolding, error) {
|
||||
func (m *MockAccountService) FetchVouchers(publicKey string) (*models.VoucherHoldingResponse, error) {
|
||||
args := m.Called()
|
||||
return args.Get(0).([]models.VoucherHolding), args.Error(1)
|
||||
return args.Get(0).(*models.VoucherHoldingResponse), args.Error(1)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user