mirror of
https://github.com/internetee/registry.git
synced 2025-06-08 13:44:47 +02:00
Clean up settings after tests
This commit is contained in:
parent
840f1db5c9
commit
7fcab05e51
15 changed files with 74 additions and 22 deletions
|
@ -5,12 +5,12 @@ class EppDomainDeleteBaseTest < EppTestCase
|
|||
|
||||
setup do
|
||||
@domain = domains(:shop)
|
||||
@original_confirmation_setting = Setting.request_confirmation_on_domain_deletion_enabled
|
||||
@original_domain_delete_confirmation = Setting.request_confirmation_on_domain_deletion_enabled
|
||||
ActionMailer::Base.deliveries.clear
|
||||
end
|
||||
|
||||
teardown do
|
||||
Setting.request_confirmation_on_domain_deletion_enabled = @original_confirmation_setting
|
||||
Setting.request_confirmation_on_domain_deletion_enabled = @original_domain_delete_confirmation
|
||||
end
|
||||
|
||||
def test_bypasses_domain_and_registrant_and_contacts_validation
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue