mirror of
https://github.com/google/nomulus
synced 2026-09-18 22:14:23 +00:00
Add a missing test to ContactUpdateFlow
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=133000632
This commit is contained in:
@@ -26,6 +26,7 @@ import com.google.common.collect.ImmutableSet;
|
||||
import google.registry.flows.ResourceFlowTestCase;
|
||||
import google.registry.flows.ResourceFlowUtils.ResourceNotOwnedException;
|
||||
import google.registry.flows.ResourceMutateFlow.ResourceToMutateDoesNotExistException;
|
||||
import google.registry.flows.ResourceUpdateFlow.AddRemoveSameValueEppException;
|
||||
import google.registry.flows.ResourceUpdateFlow.ResourceHasClientUpdateProhibitedException;
|
||||
import google.registry.flows.ResourceUpdateFlow.StatusNotClientSettableException;
|
||||
import google.registry.flows.SingleResourceFlow.ResourceStatusProhibitsOperationException;
|
||||
@@ -258,4 +259,12 @@ public class ContactUpdateFlowTest
|
||||
persistActiveContact(getUniqueIdFromCommand());
|
||||
runFlow();
|
||||
}
|
||||
|
||||
@Test
|
||||
public void testFailure_addRemoveSameValue() throws Exception {
|
||||
thrown.expect(AddRemoveSameValueEppException.class);
|
||||
setEppInput("contact_update_add_remove_same.xml");
|
||||
persistActiveContact(getUniqueIdFromCommand());
|
||||
runFlow();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user