mirror of
https://github.com/google/nomulus
synced 2026-09-13 03:24:34 +00:00
Wire in domain transfer custom pricing and add a test
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=142593949
This commit is contained in:
@@ -106,10 +106,6 @@ public class DomainTransferFlowTestCase<F extends Flow, R extends EppResource>
|
||||
TRANSFER_REQUEST_TIME);
|
||||
}
|
||||
|
||||
protected void setupDomain(String tld) throws Exception {
|
||||
setupDomain("example", tld);
|
||||
}
|
||||
|
||||
/** Adds a domain with no pending transfer on it. */
|
||||
protected void setupDomain(String label, String tld) throws Exception {
|
||||
createTld(tld);
|
||||
@@ -230,14 +226,9 @@ public class DomainTransferFlowTestCase<F extends Flow, R extends EppResource>
|
||||
.hasCurrentSponsorClientId("TheRegistrar");
|
||||
}
|
||||
|
||||
/** Adds a .tld domain that has a pending transfer on it from TheRegistrar to NewRegistrar. */
|
||||
protected void setupDomainWithPendingTransfer() throws Exception {
|
||||
setupDomainWithPendingTransfer("tld");
|
||||
}
|
||||
|
||||
/** Adds a domain that has a pending transfer on it from TheRegistrar to NewRegistrar. */
|
||||
protected void setupDomainWithPendingTransfer(String tld) throws Exception {
|
||||
setupDomain(tld);
|
||||
protected void setupDomainWithPendingTransfer(String label, String tld) throws Exception {
|
||||
setupDomain(label, tld);
|
||||
domain = persistWithPendingTransfer(domain);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user