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:
mcilwain 2016-10-11 15:07:12 -07:00 committed by Ben McIlwain
parent a500812a91
commit cfbf62ef4e
6 changed files with 4 additions and 25 deletions

View file

@ -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");