mirror of
https://github.com/google/nomulus.git
synced 2025-06-28 23:33:36 +02:00
Add extra flow logic for Restore
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=137191080
This commit is contained in:
parent
a4d78afd70
commit
e40db46822
5 changed files with 38 additions and 11 deletions
|
@ -615,7 +615,8 @@ public class DomainRenewFlowTest extends ResourceFlowTestCase<DomainRenewFlow, D
|
|||
|
||||
@Test
|
||||
public void testFailure_flags_feeMismatch() throws Exception {
|
||||
setEppInput("domain_renew_flags.xml", ImmutableMap.of("FEE", "11"));
|
||||
setEppInput(
|
||||
"domain_renew_flags.xml", ImmutableMap.of("DOMAIN", "renew-42.flags", "FEE", "11"));
|
||||
persistDomain();
|
||||
thrown.expect(FeesMismatchException.class);
|
||||
runFlow();
|
||||
|
@ -623,7 +624,8 @@ public class DomainRenewFlowTest extends ResourceFlowTestCase<DomainRenewFlow, D
|
|||
|
||||
@Test
|
||||
public void testSuccess_flags() throws Exception {
|
||||
setEppInput("domain_renew_flags.xml", ImmutableMap.of("FEE", "42"));
|
||||
setEppInput(
|
||||
"domain_renew_flags.xml", ImmutableMap.of("DOMAIN", "renew-42.flags", "FEE", "42"));
|
||||
persistDomain();
|
||||
thrown.expect(TestExtraLogicManagerSuccessException.class, "renewed");
|
||||
runFlow();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue