mirror of
https://github.com/internetee/registry.git
synced 2025-06-12 07:34:45 +02:00
updated restore function
This commit is contained in:
parent
f65063f6a5
commit
6a050f9ce3
5 changed files with 14 additions and 6 deletions
|
@ -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]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue