From f5b95f823036def23526071a1a8e971a1a50bed2 Mon Sep 17 00:00:00 2001 From: Michael Muller Date: Fri, 12 Oct 2018 16:35:26 -0400 Subject: [PATCH] Did another change to see how this goes. (#2) Did another change to see how this goes. --- .../google/registry/tools/UserIdProvider.java | 2 ++ .../registry/tools/CreateTldCommandTest.java | 22 +++++++++---------- 2 files changed, 13 insertions(+), 11 deletions(-) diff --git a/java/google/registry/tools/UserIdProvider.java b/java/google/registry/tools/UserIdProvider.java index c170180d5..a93a60b1e 100644 --- a/java/google/registry/tools/UserIdProvider.java +++ b/java/google/registry/tools/UserIdProvider.java @@ -12,6 +12,8 @@ // See the License for the specific language governing permissions and // limitations under the License. +/* Here's an extra comment, just for the heck of it. */ + package google.registry.tools; diff --git a/javatests/google/registry/tools/CreateTldCommandTest.java b/javatests/google/registry/tools/CreateTldCommandTest.java index 00b90e2d1..5c441e692 100644 --- a/javatests/google/registry/tools/CreateTldCommandTest.java +++ b/javatests/google/registry/tools/CreateTldCommandTest.java @@ -97,17 +97,6 @@ public class CreateTldCommandTest extends CommandTestCase { assertThat(thrown).hasMessageThat().contains("Can't create more than one TLD at a time"); } - @Test - public void testSuccess_initialTldStateFlag() throws Exception { - runCommandForced( - "--initial_tld_state=GENERAL_AVAILABILITY", - "--roid_suffix=Q9JYB4C", - "--dns_writers=VoidDnsWriter", - "xn--q9jyb4c"); - assertThat(Registry.get("xn--q9jyb4c").getTldState(DateTime.now(UTC))) - .isEqualTo(TldState.GENERAL_AVAILABILITY); - } - @Test public void testSuccess_initialRenewBillingCostFlag() throws Exception { runCommandForced( @@ -119,6 +108,17 @@ public class CreateTldCommandTest extends CommandTestCase { .isEqualTo(Money.of(USD, 42.42)); } + @Test + public void testSuccess_initialTldStateFlag() throws Exception { + runCommandForced( + "--initial_tld_state=GENERAL_AVAILABILITY", + "--roid_suffix=Q9JYB4C", + "--dns_writers=VoidDnsWriter", + "xn--q9jyb4c"); + assertThat(Registry.get("xn--q9jyb4c").getTldState(DateTime.now(UTC))) + .isEqualTo(TldState.GENERAL_AVAILABILITY); + } + @Test public void testSuccess_eapFeeSchedule() throws Exception { DateTime now = DateTime.now(UTC);