mirror of
https://github.com/internetee/registry.git
synced 2025-06-10 06:34:46 +02:00
Reference orphans_contacts_in_months directly from Settings
This commit is contained in:
parent
6707ca17bf
commit
28dea2f13c
3 changed files with 9 additions and 10 deletions
|
@ -22,7 +22,7 @@ class ArchiveContactsTaskTest < ActiveSupport::TestCase
|
|||
|
||||
def archivable_contact
|
||||
contact = contacts(:john)
|
||||
Contact.inactivity_period = 0.seconds
|
||||
Setting.orphans_contacts_in_months = 0
|
||||
DomainVersion.delete_all
|
||||
|
||||
other_contact = contacts(:william)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue