diff --git a/javatests/google/registry/flows/domain/DomainCreateFlowTest.java b/javatests/google/registry/flows/domain/DomainCreateFlowTest.java index 50a52a772..a33814c01 100644 --- a/javatests/google/registry/flows/domain/DomainCreateFlowTest.java +++ b/javatests/google/registry/flows/domain/DomainCreateFlowTest.java @@ -106,6 +106,7 @@ import google.registry.model.domain.DomainResource; import google.registry.model.domain.GracePeriod; import google.registry.model.domain.LrpToken; import google.registry.model.domain.TestExtraLogicManager; +import google.registry.model.domain.TestExtraLogicManager.TestExtraLogicManagerSuccessException; import google.registry.model.domain.launch.ApplicationStatus; import google.registry.model.domain.launch.LaunchNotice; import google.registry.model.domain.rgp.GracePeriodStatus; @@ -1616,7 +1617,7 @@ public class DomainCreateFlowTest extends ResourceFlowTestCase getExtensionFlags( DomainResource domainResource, String clientId, DateTime asOfDate) { @@ -221,6 +234,6 @@ public class TestExtraLogicManager implements RegistryExtraFlowLogic { public void commitAdditionalLogicChanges() { checkNotNull(messageToThrow); // Throw a specific exception as a signal to the test code that we made it through to here. - throw new IllegalArgumentException(messageToThrow); + throw new TestExtraLogicManagerSuccessException(messageToThrow); } }