1
0
mirror of https://github.com/google/nomulus synced 2026-01-04 04:04:22 +00:00

Add better testing of domain and host creation using multi-part TLDs

Added validation on domain creation, preventing a domain from being created if
it equals an existing TLD. Added domain create tests for domains using
multi-part TLDs that shared suffixes and prefixes. Added host create tests for
hosts using multi-part TLDs that shared suffixes.

-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=164297749
This commit is contained in:
bbilbo
2017-08-04 12:53:33 -07:00
committed by Ben McIlwain
parent b9a8853f4b
commit e786c8d6ff
14 changed files with 322 additions and 14 deletions

View File

@@ -299,7 +299,8 @@ An EPP flow that creates a new application for a domain resource.
* The checksum in the specified TCNID does not validate.
* Domain name is under tld which doesn't exist.
* 2005
* Domain name must have exactly one part above the tld.
* Domain name must have exactly one part above the TLD.
* Domain name must not equal an existing multi-part TLD.
* The requested fee is expressed in a scale that is invalid for the given
currency.
* The specified TCNID is invalid.
@@ -479,7 +480,8 @@ information.
* Domain label is not allowed by IDN table.
* Domain name is under tld which doesn't exist.
* 2005
* Domain name must have exactly one part above the tld.
* Domain name must have exactly one part above the TLD.
* Domain name must not equal an existing multi-part TLD.
* 2201
* Registrar is not authorized to access this TLD.
* 2306
@@ -530,7 +532,8 @@ An EPP flow that creates a new domain resource.
* The checksum in the specified TCNID does not validate.
* Domain name is under tld which doesn't exist.
* 2005
* Domain name must have exactly one part above the tld.
* Domain name must have exactly one part above the TLD.
* Domain name must not equal an existing multi-part TLD.
* The requested fee is expressed in a scale that is invalid for the given
currency.
* The specified TCNID is invalid.