updated restore function

This commit is contained in:
olegphenomenon 2021-10-22 13:40:33 +03:00
parent f65063f6a5
commit 6a050f9ce3
5 changed files with 14 additions and 6 deletions

View file

@ -102,8 +102,7 @@ class ForceDeleteTest < ActionMailer::TestCase
def test_scheduling_force_delete_allows_domain_deletion
statuses_to_be_removed = [
DomainStatus::CLIENT_DELETE_PROHIBITED,
DomainStatus::SERVER_DELETE_PROHIBITED
DomainStatus::CLIENT_DELETE_PROHIBITED
]
@domain.statuses = statuses_to_be_removed + %w[other-status]