Move jobs from Que to ActiveJob

This commit is contained in:
Alex Sherman 2020-10-19 16:01:20 +05:00
parent 1d3be40e14
commit 313731232e
53 changed files with 390 additions and 157 deletions

View file

@ -92,12 +92,13 @@ class EppDomainDeleteBaseTest < EppTestCase
perform_enqueued_jobs do
post epp_delete_path, params: { frame: request_xml }, headers: { 'HTTP_COOKIE' => 'session=api_bestnames' }
end
@domain.reload
assert @domain.registrant_verification_asked?
assert @domain.pending_delete_confirmation?
assert_emails 1
assert_epp_response :completed_successfully_action_pending
assert_emails 1
end
def test_skips_registrant_confirmation_when_not_required