mirror of
https://github.com/google/nomulus.git
synced 2025-05-15 00:47:11 +02:00
Ensure that poll messages are created in domain create flow tests
Also ensures that a custom logic hook is called on create. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=143112481
This commit is contained in:
parent
1c927a48e9
commit
393eeabc5e
6 changed files with 142 additions and 4 deletions
|
@ -20,6 +20,12 @@ import google.registry.model.eppinput.EppInput;
|
|||
/** A custom logic factory for testing. */
|
||||
public class TestCustomLogicFactory extends CustomLogicFactory {
|
||||
|
||||
@Override
|
||||
public DomainCreateFlowCustomLogic forDomainCreateFlow(
|
||||
EppInput eppInput, SessionMetadata sessionMetadata) {
|
||||
return new TestDomainCreateFlowCustomLogic(eppInput, sessionMetadata);
|
||||
}
|
||||
|
||||
@Override
|
||||
public DomainPricingCustomLogic forDomainPricing(
|
||||
EppInput eppInput, SessionMetadata sessionMetadata) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue