remove test

This commit is contained in:
oleghasjanov 2025-01-28 15:25:22 +02:00
parent a625388df4
commit 6d657426e5

View file

@ -4,6 +4,7 @@ class BaseTest < ActiveSupport::TestCase
setup do
@domain = domains(:shop)
@domain_airport = domains(:airport)
travel_to Time.zone.parse('2010-07-05 00:30:00')
end
def test_hold_domains_force_delete_email
@ -58,21 +59,6 @@ class BaseTest < ActiveSupport::TestCase
Setting.redemption_grace_period.days).to_date
end
def test_should_send_poll_message_about_45_days_to_registrar
refute @domain_airport.force_delete_scheduled?
@domain_airport.update!(valid_to: Time.zone.now + 3.years - 1.month - 4.days)
@domain_airport.reload
prepare_contact
contact = @domain_airport.admin_contacts.first
assert_difference -> { @domain_airport.registrar.notifications.count } do
Domains::ForceDeleteEmail::Base.run(email: contact.email)
end
@domain_airport.reload
end
private
def prepare_contact