Move all the existing interactors to Domains namespace

This commit is contained in:
Alex Sherman 2020-11-30 13:46:53 +05:00
parent 09a58fa432
commit 5363c546a5
34 changed files with 250 additions and 222 deletions

View file

@ -414,7 +414,7 @@ class DomainTest < ActiveSupport::TestCase
force_delete_date: nil)
@domain.update(template_name: 'legal_person')
travel_to Time.zone.parse('2010-07-05')
ForceDeleteInteraction::SetForceDelete.run!(domain: @domain, type: :fast_track)
Domains::ForceDelete::SetForceDelete.run!(domain: @domain, type: :fast_track)
assert(@domain.force_delete_scheduled?)
other_registrant = Registrant.find_by(code: 'jane-001')
@domain.pending_json['new_registrant_id'] = other_registrant.id