Add test service placeholders for fetchtransactions

This commit is contained in:
lash
2024-11-02 16:42:50 +00:00
parent 14bc11f4bd
commit 3a8a5f40ba
2 changed files with 9 additions and 0 deletions

View File

@@ -33,3 +33,8 @@ func (m *MockAccountService) FetchVouchers(ctx context.Context, publicKey string
args := m.Called(publicKey)
return args.Get(0).([]dataserviceapi.TokenHoldings), args.Error(1)
}
func (m *MockAccountService) FetchTransactions(ctx context.Context, publicKey string) ([]dataserviceapi.Last10TxResponse, error) {
args := m.Called(publicKey)
return args.Get(0).([]dataserviceapi.Last10TxResponse), args.Error(1)
}