mirror of
https://github.com/google/nomulus
synced 2026-09-05 15:46:55 +00: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:
@@ -34,10 +34,8 @@ import google.registry.model.reporting.HistoryEntry;
|
||||
import google.registry.model.transfer.TransferResponse.ContactTransferResponse;
|
||||
import google.registry.model.transfer.TransferResponse.DomainTransferResponse;
|
||||
import google.registry.model.transfer.TransferStatus;
|
||||
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 PollRequestFlow}. */
|
||||
@@ -47,9 +45,6 @@ public class PollRequestFlowTest extends FlowTestCase<PollRequestFlow> {
|
||||
private ContactResource contact;
|
||||
private HostResource host;
|
||||
|
||||
@Rule
|
||||
public final ExceptionRule thrown = new ExceptionRule();
|
||||
|
||||
@Before
|
||||
public void setUp() {
|
||||
setEppInput("poll.xml");
|
||||
|
||||
Reference in New Issue
Block a user