mirror of
https://github.com/internetee/registry.git
synced 2025-06-08 05:34:46 +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
|
@ -3,11 +3,18 @@ require 'test_helper'
|
|||
class EppDomainUpdateBaseTest < EppTestCase
|
||||
include ActionMailer::TestHelper
|
||||
|
||||
def setup
|
||||
setup do
|
||||
@domain = domains(:shop)
|
||||
@original_registrant_change_verification =
|
||||
Setting.request_confrimation_on_registrant_change_enabled
|
||||
ActionMailer::Base.deliveries.clear
|
||||
end
|
||||
|
||||
teardown do
|
||||
Setting.request_confrimation_on_registrant_change_enabled =
|
||||
@original_registrant_change_verification
|
||||
end
|
||||
|
||||
def test_update_domain
|
||||
request_xml = <<-XML
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue