mirror of
https://github.com/google/nomulus.git
synced 2025-05-13 07:57:13 +02:00
Remove deprecated extra flow logic and TLD-specific pricing proxy
This also adds a domain update pricing hook to DomainPricingCustomLogic. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=142286755
This commit is contained in:
parent
348cea9d8d
commit
f44557f34f
41 changed files with 494 additions and 1744 deletions
|
@ -40,8 +40,6 @@ import google.registry.flows.domain.DomainFlowUtils.NotAuthorizedForTldException
|
|||
import google.registry.model.EppResource;
|
||||
import google.registry.model.contact.ContactResource;
|
||||
import google.registry.model.domain.DomainApplication;
|
||||
import google.registry.model.domain.TestExtraLogicManager;
|
||||
import google.registry.model.domain.TestExtraLogicManager.TestExtraLogicManagerSuccessException;
|
||||
import google.registry.model.domain.launch.LaunchPhase;
|
||||
import google.registry.model.eppcommon.StatusValue;
|
||||
import google.registry.model.host.HostResource;
|
||||
|
@ -62,7 +60,6 @@ public class DomainApplicationDeleteFlowTest
|
|||
public void setUp() {
|
||||
createTld("tld", TldState.SUNRUSH);
|
||||
createTld("extra", TldState.LANDRUSH);
|
||||
RegistryExtraFlowLogicProxy.setOverride("extra", TestExtraLogicManager.class);
|
||||
}
|
||||
|
||||
public void doSuccessfulTest() throws Exception {
|
||||
|
@ -306,17 +303,4 @@ public class DomainApplicationDeleteFlowTest
|
|||
thrown.expect(ApplicationDomainNameMismatchException.class);
|
||||
runFlow();
|
||||
}
|
||||
|
||||
@Test
|
||||
public void testSuccess_extraLogic() throws Exception {
|
||||
persistResource(newDomainApplication("example.extra")
|
||||
.asBuilder()
|
||||
.setRepoId("1-TLD")
|
||||
.setPhase(LaunchPhase.LANDRUSH)
|
||||
.build());
|
||||
setEppInput(
|
||||
"domain_delete_application_landrush.xml", ImmutableMap.of("DOMAIN", "example.extra"));
|
||||
thrown.expect(TestExtraLogicManagerSuccessException.class, "application deleted");
|
||||
runFlow();
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue