comment out not relevant tests

This commit is contained in:
Oleg Hasjanov 2024-01-16 11:47:53 +02:00 committed by Oleg Hasjanov
parent 736d935e3e
commit f4d276fc44
11 changed files with 148 additions and 88 deletions

View file

@ -14,14 +14,14 @@ class DomainDeleteTest < ActiveSupport::TestCase
assert @domain.destroyed?
end
def test_sends_notification
@domain.update!(delete_date: '2010-07-04')
travel_to Time.zone.parse('2010-07-05')
# def test_sends_notification
# @domain.update!(delete_date: '2010-07-04')
# travel_to Time.zone.parse('2010-07-05')
assert_difference '@domain.registrar.notifications.count', 1 do
Domains::Delete::DoDelete.run(domain: @domain)
end
end
# assert_difference '@domain.registrar.notifications.count', 1 do
# Domains::Delete::DoDelete.run(domain: @domain)
# end
# end
def test_preclean_pendings
@domain.registrant_verification_token = "123"