mirror of
https://github.com/google/nomulus.git
synced 2025-05-28 16:30:12 +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
|
@ -30,17 +30,12 @@ import google.registry.flows.session.LoginFlow.TooManyFailedLoginsException;
|
|||
import google.registry.flows.session.LoginFlow.UnsupportedLanguageException;
|
||||
import google.registry.model.registrar.Registrar;
|
||||
import google.registry.model.registrar.Registrar.State;
|
||||
import google.registry.testing.ExceptionRule;
|
||||
import org.junit.Before;
|
||||
import org.junit.Rule;
|
||||
import org.junit.Test;
|
||||
|
||||
/** Unit tests for {@link LoginFlow}. */
|
||||
public abstract class LoginFlowTestCase extends FlowTestCase<LoginFlow> {
|
||||
|
||||
@Rule
|
||||
public final ExceptionRule thrown = new ExceptionRule();
|
||||
|
||||
Registrar registrar;
|
||||
Registrar.Builder registrarBuilder;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue