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
|
@ -47,6 +47,7 @@ import google.registry.model.reporting.HistoryEntry;
|
|||
import google.registry.model.tmch.ClaimsListShard.ClaimsListSingleton;
|
||||
import google.registry.testing.AppEngineRule;
|
||||
import google.registry.testing.EppLoader;
|
||||
import google.registry.testing.ExceptionRule;
|
||||
import google.registry.testing.FakeClock;
|
||||
import google.registry.testing.FakeHttpSession;
|
||||
import google.registry.testing.InjectRule;
|
||||
|
@ -82,6 +83,9 @@ public abstract class FlowTestCase<F extends Flow> extends ShardableTestCase {
|
|||
.withTaskQueue()
|
||||
.build();
|
||||
|
||||
@Rule
|
||||
public final ExceptionRule thrown = new ExceptionRule();
|
||||
|
||||
@Rule
|
||||
public final InjectRule inject = new InjectRule();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue