Modified lhv connect controller

This commit is contained in:
Sergei Tsõganov 2022-08-11 11:11:52 +03:00
parent 91c471049a
commit 4d5203096e
4 changed files with 7 additions and 18 deletions

View file

@ -4,10 +4,6 @@ class BankTransactionTest < ActiveSupport::TestCase
setup do
@registrar = registrars(:bestnames)
@invoice = invoices(:one)
if Feature.billing_system_integrated?
stub_request(:post, 'https://eis_billing_system:3000/api/v1/invoice_generator/invoice_status')
.to_return(status: 200, body: '', headers: {})
end
end
def test_matches_against_invoice_nubmber_and_reference_number

View file

@ -30,11 +30,6 @@ class ProcessPaymentsTaskTest < ActiveJob::TestCase
[message]
end
end
if Feature.billing_system_integrated?
stub_request(:post, 'https://eis_billing_system:3000/api/v1/invoice_generator/invoice_status')
.to_return(status: 200, body: '', headers: {})
end
end
def test_not_raises_error_if_bad_reference