Make payable argument required

This commit is contained in:
Karl Erik Õunapuu 2020-09-15 12:43:40 +03:00
parent 66288fe160
commit 764e35e198
No known key found for this signature in database
GPG key ID: C9DD647298A34764
3 changed files with 5 additions and 5 deletions

View file

@ -13,7 +13,7 @@ class SendEInvoiceJobTest < ActiveSupport::TestCase
EInvoice::Providers::TestProvider.deliveries.clear
assert_nothing_raised do
SendEInvoiceJob.enqueue(@invoice.id)
SendEInvoiceJob.enqueue(@invoice.id, true)
end
@invoice.reload
@ -29,7 +29,7 @@ class SendEInvoiceJobTest < ActiveSupport::TestCase
stub_request(:get, "https://testfinance.post.ee/finance/erp/erpServices.wsdl").to_timeout
assert_raise HTTPClient::TimeoutError do
SendEInvoiceJob.enqueue(@invoice.id)
SendEInvoiceJob.enqueue(@invoice.id, true)
end
assert @invoicee_invoice_sent_at.blank?
@ -37,7 +37,7 @@ class SendEInvoiceJobTest < ActiveSupport::TestCase
EInvoice::Providers::TestProvider.deliveries.clear
assert_nothing_raised do
SendEInvoiceJob.enqueue(@invoice.id)
SendEInvoiceJob.enqueue(@invoice.id, true)
end
@invoice.reload