added the GetMpesaOnrampRates function
This commit is contained in:
@@ -135,3 +135,8 @@ func (m MockAccountService) MpesaTriggerOnramp(ctx context.Context, address, pho
|
||||
args := m.Called(address, phoneNumber, asset, amount)
|
||||
return args.Get(0).(*models.MpesaOnrampResponse), args.Error(1)
|
||||
}
|
||||
|
||||
func (m MockAccountService) GetMpesaOnrampRates(ctx context.Context) (*models.MpesaOnrampRatesResponse, error) {
|
||||
args := m.Called()
|
||||
return args.Get(0).(*models.MpesaOnrampRatesResponse), args.Error(1)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user