mirror of
https://github.com/google/nomulus.git
synced 2025-07-21 18:26:12 +02:00
Require abuse WHOIS contact when adding TLDs from web
We do not enforce this for non-REAL registrars or in any environment other than UNITTEST or PRODUCTION. This is similar but separate to [] since we can add allowed TLDs in either location. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=239602978
This commit is contained in:
parent
7ff6667bdf
commit
06adc9739a
3 changed files with 39 additions and 4 deletions
|
@ -467,7 +467,7 @@ public class RegistrarTest extends EntityTestCase {
|
|||
// Make sure the TLD we want to create doesn't exist yet.
|
||||
// This is also important because getTlds fills out the cache when used.
|
||||
assertThat(Registries.getTlds()).doesNotContain("newtld");
|
||||
// We can't use createTld here because it failes when the cache is used.
|
||||
// We can't use createTld here because it fails when the cache is used.
|
||||
persistResource(newRegistry("newtld", "NEWTLD"));
|
||||
// Make sure we set up the cache correctly, so the newly created TLD isn't in the cache
|
||||
assertThat(Registries.getTlds()).doesNotContain("newtld");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue