mirror of
https://github.com/internetee/registry.git
synced 2025-07-30 14:36:22 +02:00
updated tests
This commit is contained in:
parent
f0cf47cd66
commit
cd81e58ff6
5 changed files with 22 additions and 6 deletions
|
@ -169,7 +169,7 @@ class ProcessPaymentsTaskTest < ActiveJob::TestCase
|
|||
stub_request(:post, 'https://eis_billing_system:3000/api/v1/invoice_generator/invoice_generator')
|
||||
.to_return(status: 200, body: "{\"everypay_link\":\"http://link.test\"}", headers: {})
|
||||
|
||||
Spy.on_instance_method(SendEInvoiceTwoJob, :perform_now).and_return(true)
|
||||
Spy.on_instance_method(SendEInvoiceJob, :perform_now).and_return(true)
|
||||
|
||||
stub_request(:post, 'https://eis_billing_system:3000/api/v1/e_invoice/e_invoice')
|
||||
.to_return(status: 200, body: '', headers: {})
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue