mirror of
https://github.com/google/nomulus
synced 2026-02-09 14:30:33 +00:00
Change the email address for the second test registrar
NewRegistrar will still have the email address "new.registrar@example.com" and TheRegistrar will now have the email address "the.registrar@example.com". I noticed this when looking at the Spec11 testing code and this will make it easier to test that code later when we retrieve email addresses from the registrar datastore objects themselves. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=242676543
This commit is contained in:
@@ -162,7 +162,6 @@ public final class AppEngineRule extends ExternalResource {
|
||||
return new Registrar.Builder()
|
||||
.setType(Registrar.Type.REAL)
|
||||
.setState(State.ACTIVE)
|
||||
.setEmailAddress("new.registrar@example.com")
|
||||
.setIcannReferralEmail("lol@sloth.test")
|
||||
.setUrl("http://my.fake.url")
|
||||
.setInternationalizedAddress(new RegistrarAddress.Builder()
|
||||
@@ -189,6 +188,7 @@ public final class AppEngineRule extends ExternalResource {
|
||||
return makeRegistrarCommon()
|
||||
.setClientId("NewRegistrar")
|
||||
.setRegistrarName("New Registrar")
|
||||
.setEmailAddress("new.registrar@example.com")
|
||||
.setIanaIdentifier(8L)
|
||||
.setPassword("foo-BAR2")
|
||||
.setPhoneNumber("+1.3334445555")
|
||||
@@ -201,6 +201,7 @@ public final class AppEngineRule extends ExternalResource {
|
||||
return makeRegistrarCommon()
|
||||
.setClientId("TheRegistrar")
|
||||
.setRegistrarName("The Registrar")
|
||||
.setEmailAddress("the.registrar@example.com")
|
||||
.setIanaIdentifier(1L)
|
||||
.setPassword("password2")
|
||||
.setPhoneNumber("+1.2223334444")
|
||||
|
||||
Reference in New Issue
Block a user