diff --git a/test/integration/epp/domain/domain_update_test.rb b/test/integration/epp/domain/domain_update_test.rb index bdd39a0a4..e97fe453a 100644 --- a/test/integration/epp/domain/domain_update_test.rb +++ b/test/integration/epp/domain/domain_update_test.rb @@ -49,6 +49,5 @@ class EppDomainUpdateTest < ApplicationIntegrationTest post '/epp/command/update', { frame: request_xml }, 'HTTP_COOKIE' => 'session=api_bestnames' assert_equal '2105', Nokogiri::XML(response.body).at_css('result')[:code] - travel_back end end diff --git a/test/integration/epp/domain/transfer/request_test.rb b/test/integration/epp/domain/transfer/request_test.rb index 82f453277..f9cfda911 100644 --- a/test/integration/epp/domain/transfer/request_test.rb +++ b/test/integration/epp/domain/transfer/request_test.rb @@ -88,7 +88,6 @@ class EppDomainTransferRequestTest < ApplicationIntegrationTest assert_equal registrars(:bestnames), @domain.registrar assert_equal '2105', Nokogiri::XML(response.body).at_css('result')[:code] - travel_back end def test_same_registrar diff --git a/test/lib/auth_token/auth_token_creator_test.rb b/test/lib/auth_token/auth_token_creator_test.rb index 0465de9f4..440267a40 100644 --- a/test/lib/auth_token/auth_token_creator_test.rb +++ b/test/lib/auth_token/auth_token_creator_test.rb @@ -47,7 +47,5 @@ class AuthTokenCreatorTest < ActiveSupport::TestCase token_creator_with_defaults = AuthTokenCreator.create_with_defaults(@user) assert_equal(Rails.application.config.secret_key_base, token_creator_with_defaults.key) assert_equal('2010-07-05 02:30:00 UTC', token_creator_with_defaults.expires_at) - - travel_back end end diff --git a/test/lib/auth_token/auth_token_decryptor_test.rb b/test/lib/auth_token/auth_token_decryptor_test.rb index 49ca2b820..e97580a54 100644 --- a/test/lib/auth_token/auth_token_decryptor_test.rb +++ b/test/lib/auth_token/auth_token_decryptor_test.rb @@ -18,12 +18,6 @@ class AuthTokenDecryptorTest < ActiveSupport::TestCase @access_token = "q27NWIsKD5snWj9vZzJ0RcOYvgocEyu7H9yCaDjfmGi54sogovpBeALMPWTZHMcdFQzSiq6b4cI0p5tO0_5UEOHic2jRzNW7mkhi-bn-Y2Wlnw7jhMpxw6VwJR8QEoDzjkcNxnKBN6OKF4nssa60ZQ==" end - def teardown - super - - travel_back - end - def test_decrypt_token_returns_a_hash_when_token_is_valid decryptor = AuthTokenDecryptor.new(@access_token, @key) diff --git a/test/lib/serializers/registrant_api/domain_test.rb b/test/lib/serializers/registrant_api/domain_test.rb index 71f234c04..08648b29c 100644 --- a/test/lib/serializers/registrant_api/domain_test.rb +++ b/test/lib/serializers/registrant_api/domain_test.rb @@ -21,7 +21,6 @@ class SerializersRegistrantApiDomainTest < ActiveSupport::TestCase new_json = serializer_for_locked_domain.to_json assert_equal(Time.zone.parse('2010-07-05 10:30'), new_json[:locked_by_registrant_at]) - travel_back end def test_returns_registrar_name diff --git a/test/system/admin_area/domains/registry_lock_test.rb b/test/system/admin_area/domains/registry_lock_test.rb index ce09c445c..027ca8ecc 100644 --- a/test/system/admin_area/domains/registry_lock_test.rb +++ b/test/system/admin_area/domains/registry_lock_test.rb @@ -10,10 +10,6 @@ class AdminAreaRegistryLockTest < JavaScriptApplicationSystemTestCase @domain = domains(:airport) end - def teardown - travel_back - end - def test_does_not_have_link_when_domain_is_not_locked visit edit_admin_domain_path(@domain) click_link_or_button('Actions') diff --git a/test/system/admin_area/domains_test.rb b/test/system/admin_area/domains_test.rb index 7037a076d..f89c21ed6 100644 --- a/test/system/admin_area/domains_test.rb +++ b/test/system/admin_area/domains_test.rb @@ -7,10 +7,6 @@ class AdminDomainsTestTest < ApplicationSystemTestCase @domain = domains(:shop) end - teardown do - travel_back - end - def test_shows_details visit admin_domain_path(@domain) assert_field nil, with: @domain.transfer_code