mirror of
https://github.com/google/nomulus.git
synced 2025-06-27 23:03:34 +02:00
Move ExceptionRule up to FlowTestCase
This removes a much larger number of independent field defs. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=135846921
This commit is contained in:
parent
a500812a91
commit
cfbf62ef4e
6 changed files with 4 additions and 25 deletions
|
@ -29,10 +29,8 @@ import google.registry.flows.poll.PollAckFlow.NotAuthorizedToAckMessageException
|
|||
import google.registry.model.contact.ContactResource;
|
||||
import google.registry.model.domain.DomainResource;
|
||||
import google.registry.model.poll.PollMessage;
|
||||
import google.registry.testing.ExceptionRule;
|
||||
import org.joda.time.DateTime;
|
||||
import org.junit.Before;
|
||||
import org.junit.Rule;
|
||||
import org.junit.Test;
|
||||
|
||||
/** Unit tests for {@link PollAckFlow}. */
|
||||
|
@ -44,9 +42,6 @@ public class PollAckFlowTest extends FlowTestCase<PollAckFlow> {
|
|||
private DomainResource domain;
|
||||
private ContactResource contact;
|
||||
|
||||
@Rule
|
||||
public final ExceptionRule thrown = new ExceptionRule();
|
||||
|
||||
@Before
|
||||
public void setUp() {
|
||||
setEppInput("poll_ack.xml");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue