mirror of
https://github.com/internetee/registry.git
synced 2025-08-04 17:01:44 +02:00
Renew with invalid exp date test
This commit is contained in:
parent
e18ca330a0
commit
3256534f0d
4 changed files with 27 additions and 7 deletions
|
@ -5,9 +5,10 @@ class Domain < ActiveRecord::Base
|
|||
include EppErrors
|
||||
|
||||
EPP_CODE_MAP = {
|
||||
'2302' => ['Domain name already exists', 'Domain name is reserved or restricted'],
|
||||
'2306' => ['Registrant is missing', 'Nameservers count must be between 1-13', 'Admin contact is missing'],
|
||||
'2303' => ['Contact was not found']
|
||||
'2302' => ['Domain name already exists', 'Domain name is reserved or restricted'], # Object exists
|
||||
'2306' => ['Registrant is missing', 'Admin contact is missing', 'Given and current expire dates do not match'], # Parameter policy error
|
||||
'2004' => ['Nameservers count must be between 1-13'], # Parameter value range error
|
||||
'2303' => ['Contact was not found'] # Object does not exist
|
||||
}
|
||||
|
||||
EPP_OBJ = 'domain'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue