mirror of
https://github.com/internetee/registry.git
synced 2025-07-29 14:06:21 +02:00
fixed tests
This commit is contained in:
parent
3409dc37a5
commit
00d97aac06
5 changed files with 17 additions and 1 deletions
|
@ -16,6 +16,12 @@ class ProcessPaymentsTaskTest < ActiveJob::TestCase
|
|||
@account_activity = account_activities(:one)
|
||||
@account = accounts(:cash)
|
||||
|
||||
response_message = {
|
||||
message: 'got it'
|
||||
}
|
||||
stub_request(:post, 'https://eis_billing_system:3000/api/v1/invoice_generator/invoice_status')
|
||||
.to_return(status: 200, body: response_message.to_json, headers: {})
|
||||
|
||||
Setting.registry_iban = beneficiary_iban
|
||||
|
||||
Lhv::ConnectApi.class_eval do
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue