mirror of
https://github.com/internetee/registry.git
synced 2025-07-25 20:18:22 +02:00
Add test to check if job works
This commit is contained in:
parent
2663c550fa
commit
47e601f3cd
3 changed files with 49 additions and 8 deletions
|
@ -100,8 +100,7 @@ class Registrar < ApplicationRecord
|
|||
]
|
||||
)
|
||||
|
||||
e_invoice = invoice.to_e_invoice
|
||||
e_invoice.deliver
|
||||
SendEInvoiceJob.enqueue(invoice)
|
||||
|
||||
invoice
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue