mirror of
https://github.com/internetee/registry.git
synced 2025-07-28 13:36:15 +02:00
fixed test
This commit is contained in:
parent
c52da86865
commit
f0cf47cd66
1 changed files with 4 additions and 0 deletions
|
@ -10,6 +10,10 @@ class SendMonthlyInvoicesJobTest < ActiveSupport::TestCase
|
|||
ActionMailer::Base.deliveries.clear
|
||||
EInvoice.provider = EInvoice::Providers::TestProvider.new
|
||||
EInvoice::Providers::TestProvider.deliveries.clear
|
||||
|
||||
response = { message: 'sucess' }
|
||||
stub_request(:post, "https://eis_billing_system:3000/api/v1/e_invoice/e_invoice")
|
||||
.to_return(status: 200, body: response.to_json, headers: {})
|
||||
end
|
||||
|
||||
def teardown
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue