remove nameserver validation from update and create interactions, refactored tests, job and move validator to services scoup

This commit is contained in:
olegphenomenon 2022-01-06 14:25:12 +02:00
parent d81e7fa978
commit 287c4ea5d6
13 changed files with 76 additions and 129 deletions

View file

@ -8,10 +8,8 @@ class EppDomainUpdateBaseTest < EppTestCase
@domain = domains(:shop)
@contact = contacts(:john)
@original_registrant_change_verification =
Setting.request_confirmation_on_registrant_change_enabled
Setting.request_confirmation_on_registrant_change_enabled
ActionMailer::Base.deliveries.clear
Spy.on_instance_method(Actions::DomainUpdate, :check_for_valid_nameserver).and_return(true)
end
teardown do

View file

@ -10,10 +10,8 @@ class EppDomainUpdateRemDnsTest < EppTestCase
@dnskey = dnskeys(:one)
@dnskey.update(domain: @domain)
@original_registrant_change_verification =
Setting.request_confirmation_on_registrant_change_enabled
Setting.request_confirmation_on_registrant_change_enabled
ActionMailer::Base.deliveries.clear
Spy.on_instance_method(Actions::DomainUpdate, :check_for_valid_nameserver).and_return(true)
end
teardown do