mirror of
https://github.com/google/nomulus
synced 2026-08-01 04:46:08 +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:
@@ -698,14 +698,6 @@ public class UpdateTldCommandTest extends CommandTestCase<UpdateTldCommand> {
|
||||
"xn--q9jyb4c");
|
||||
}
|
||||
|
||||
@Test
|
||||
public void testFailure_roidSuffixAlreadyInUse() throws Exception {
|
||||
createTld("foo", "BLAH");
|
||||
createTld("bar", "BAR");
|
||||
thrown.expect(IllegalArgumentException.class, "The roid suffix BLAH is already in use");
|
||||
runCommandForced("--roid_suffix=BLAH", "bar");
|
||||
}
|
||||
|
||||
@Test
|
||||
public void testSuccess_canSetRoidSuffixToWhatItAlreadyIs() throws Exception {
|
||||
createTld("foo", "BLAH");
|
||||
|
||||
Reference in New Issue
Block a user