Skip to content

Commit

Permalink
remove test
Browse files Browse the repository at this point in the history
  • Loading branch information
OlegPhenomenon committed Feb 3, 2025
1 parent a625388 commit 6d65742
Showing 1 changed file with 1 addition and 15 deletions.
16 changes: 1 addition & 15 deletions test/interactions/force_delete_email/base_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -58,21 +59,6 @@ def test_more_that_year_until_valid_to_date_but_month_is_previous
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
Expand Down

0 comments on commit 6d65742

Please sign in to comment.