mirror of
https://github.com/google/nomulus.git
synced 2025-05-15 00:47:11 +02: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:
parent
07010150b0
commit
8b61dcc6d0
6 changed files with 2 additions and 137 deletions
|
@ -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");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue