mirror of
https://github.com/google/nomulus.git
synced 2025-07-15 07:25:13 +02: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:
parent
f0d2f96c26
commit
720f03cc17
11 changed files with 196 additions and 110 deletions
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue