mirror of
https://github.com/internetee/registry.git
synced 2025-07-03 01:33:36 +02:00
More test fixes #2623
This commit is contained in:
parent
6229d6cb35
commit
6ad458e20f
3 changed files with 18 additions and 19 deletions
|
@ -659,9 +659,7 @@ class Epp::Domain < Domain
|
|||
begin
|
||||
errors.add(:base, :domain_status_prohibits_operation)
|
||||
return false
|
||||
end if (domain_statuses.pluck(:value) & %W(
|
||||
#{DomainStatus::CLIENT_DELETE_PROHIBITED}
|
||||
)).any?
|
||||
end if statuses.include?(DomainStatus::CLIENT_DELETE_PROHIBITED)
|
||||
|
||||
true
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue