updated tests

This commit is contained in:
olegphenomenon 2022-09-02 14:58:50 +03:00
parent f0cf47cd66
commit cd81e58ff6
5 changed files with 22 additions and 6 deletions

View file

@ -49,7 +49,7 @@ class SendMonthlyInvoicesJob < ApplicationJob # rubocop:disable Metrics/ClassLen
end
def send_e_invoice(invoice_id)
SendEInvoiceJob.set(wait: 1.minute).perform_later(invoice_id, payable: false)
SendEInvoiceLegacyJob.set(wait: 1.minute).perform_later(invoice_id, payable: false)
end
def create_invoice(summary, registrar)