mirror of
https://github.com/google/nomulus
synced 2026-09-17 21:44:30 +00:00
Remove RoidSuffixes entirely
We no longer care about ROID suffix uniqueness in a post-Registry-2.0-migration world, and the Registry cache is sufficient for efficiently grabbing the ROID suffix for TLDs. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=144483726
This commit is contained in:
@@ -416,13 +416,6 @@ public class CreateTldCommandTest extends CommandTestCase<CreateTldCommand> {
|
||||
runCommandForced("--premium_list=phonies", "--roid_suffix=Q9JYB4C", "xn--q9jyb4c");
|
||||
}
|
||||
|
||||
@Test
|
||||
public void testFailure_roidSuffixAlreadyInUse() throws Exception {
|
||||
createTld("foo", "BLAH");
|
||||
thrown.expect(IllegalArgumentException.class, "The roid suffix BLAH is already in use");
|
||||
runCommandForced("--roid_suffix=BLAH", "randomtld");
|
||||
}
|
||||
|
||||
@Test
|
||||
public void testFailure_addLrpPeriod_backwardsInterval() throws Exception {
|
||||
thrown.expect(
|
||||
|
||||
Reference in New Issue
Block a user