mirror of
https://github.com/internetee/registry.git
synced 2025-06-11 07:04:47 +02:00
Explicitly set address_processing to false in tests
This commit is contained in:
parent
55ae0dc0b7
commit
625bd459de
1 changed files with 6 additions and 0 deletions
|
@ -47,6 +47,7 @@ class ActiveSupport::TestCase
|
||||||
|
|
||||||
teardown do
|
teardown do
|
||||||
travel_back
|
travel_back
|
||||||
|
Setting.address_processing = false
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
@ -60,9 +61,14 @@ class ApplicationIntegrationTest < ActionDispatch::IntegrationTest
|
||||||
WebMock.reset!
|
WebMock.reset!
|
||||||
Capybara.reset_sessions!
|
Capybara.reset_sessions!
|
||||||
Capybara.use_default_driver
|
Capybara.use_default_driver
|
||||||
|
Setting.address_processing = false
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
class EppTestCase < ActionDispatch::IntegrationTest
|
class EppTestCase < ActionDispatch::IntegrationTest
|
||||||
include Assertions::EppAssertions
|
include Assertions::EppAssertions
|
||||||
|
|
||||||
|
teardown do
|
||||||
|
Setting.address_processing = false
|
||||||
|
end
|
||||||
end
|
end
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue