mirror of
https://github.com/google/nomulus.git
synced 2025-05-13 16:07:15 +02:00
Did another change to see how this goes. (#2)
Did another change to see how this goes.
This commit is contained in:
parent
f2fa263c0b
commit
f5b95f8230
2 changed files with 13 additions and 11 deletions
|
@ -12,6 +12,8 @@
|
||||||
// See the License for the specific language governing permissions and
|
// See the License for the specific language governing permissions and
|
||||||
// limitations under the License.
|
// limitations under the License.
|
||||||
|
|
||||||
|
/* Here's an extra comment, just for the heck of it. */
|
||||||
|
|
||||||
package google.registry.tools;
|
package google.registry.tools;
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -97,17 +97,6 @@ public class CreateTldCommandTest extends CommandTestCase<CreateTldCommand> {
|
||||||
assertThat(thrown).hasMessageThat().contains("Can't create more than one TLD at a time");
|
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
|
@Test
|
||||||
public void testSuccess_initialRenewBillingCostFlag() throws Exception {
|
public void testSuccess_initialRenewBillingCostFlag() throws Exception {
|
||||||
runCommandForced(
|
runCommandForced(
|
||||||
|
@ -119,6 +108,17 @@ public class CreateTldCommandTest extends CommandTestCase<CreateTldCommand> {
|
||||||
.isEqualTo(Money.of(USD, 42.42));
|
.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
|
@Test
|
||||||
public void testSuccess_eapFeeSchedule() throws Exception {
|
public void testSuccess_eapFeeSchedule() throws Exception {
|
||||||
DateTime now = DateTime.now(UTC);
|
DateTime now = DateTime.now(UTC);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue