mirror of
https://github.com/google/nomulus.git
synced 2025-05-28 16:30:12 +02: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:
parent
ababada79a
commit
bf0d83585a
22 changed files with 34 additions and 33 deletions
|
@ -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")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue