mirror of
https://github.com/google/nomulus.git
synced 2025-05-16 09:27:16 +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
|
@ -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");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue