mirror of
https://github.com/internetee/registry.git
synced 2025-08-04 17:01:44 +02:00
Test fixes #2565
This commit is contained in:
parent
647d074b8b
commit
b6dd532171
7 changed files with 18 additions and 13 deletions
|
@ -745,7 +745,7 @@ class Epp::Domain < Domain
|
|||
next
|
||||
end
|
||||
|
||||
unless DomainNameValidator.validate_reservation(x)
|
||||
if ReservedDomain.pw_for(x).present?
|
||||
res << { name: x, avail: 0, reason: I18n.t('errors.messages.epp_domain_reserved') }
|
||||
next
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue