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:
gbrodman 2019-04-09 09:02:39 -07:00 committed by jianglai
parent d54e97dc18
commit 15faefef25
22 changed files with 34 additions and 33 deletions

View file

@ -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")