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 ababada79a
commit bf0d83585a
22 changed files with 34 additions and 33 deletions

View file

@ -96,7 +96,7 @@
] ]
], ],
["tel", {"type":["voice"]}, "uri", "tel:+1.2223334444"], ["tel", {"type":["voice"]}, "uri", "tel:+1.2223334444"],
["email", {}, "text", "new.registrar@example.com"] ["email", {}, "text", "the.registrar@example.com"]
] ]
], ],
"publicIds" : [ "publicIds" : [
@ -183,7 +183,7 @@
] ]
], ],
["tel", {"type":["voice"]}, "uri", "tel:+1.2223334444"], ["tel", {"type":["voice"]}, "uri", "tel:+1.2223334444"],
["email", {}, "text", "new.registrar@example.com"] ["email", {}, "text", "the.registrar@example.com"]
] ]
], ],
"publicIds" : [ "publicIds" : [

View file

@ -96,7 +96,7 @@
] ]
], ],
["tel", {"type":["voice"]}, "uri", "tel:+1.2223334444"], ["tel", {"type":["voice"]}, "uri", "tel:+1.2223334444"],
["email", {}, "text", "new.registrar@example.com"] ["email", {}, "text", "the.registrar@example.com"]
] ]
], ],
"publicIds" : [ "publicIds" : [
@ -183,7 +183,7 @@
] ]
], ],
["tel", {"type":["voice"]}, "uri", "tel:+1.2223334444"], ["tel", {"type":["voice"]}, "uri", "tel:+1.2223334444"],
["email", {}, "text", "new.registrar@example.com"] ["email", {}, "text", "the.registrar@example.com"]
] ]
], ],
"publicIds" : [ "publicIds" : [

View file

@ -106,7 +106,7 @@
] ]
], ],
["tel", {"type":["voice"]}, "uri", "tel:+1.2223334444"], ["tel", {"type":["voice"]}, "uri", "tel:+1.2223334444"],
["email", {}, "text", "new.registrar@example.com"] ["email", {}, "text", "the.registrar@example.com"]
] ]
], ],
"publicIds" : [ "publicIds" : [
@ -192,7 +192,7 @@
] ]
], ],
["tel", {"type":["voice"]}, "uri", "tel:+1.2223334444"], ["tel", {"type":["voice"]}, "uri", "tel:+1.2223334444"],
["email", {}, "text", "new.registrar@example.com"] ["email", {}, "text", "the.registrar@example.com"]
] ]
], ],
"publicIds" : [ "publicIds" : [

View file

@ -98,7 +98,7 @@
] ]
], ],
["tel", {"type":["voice"]}, "uri", "tel:+1.2223334444"], ["tel", {"type":["voice"]}, "uri", "tel:+1.2223334444"],
["email", {}, "text", "new.registrar@example.com"] ["email", {}, "text", "the.registrar@example.com"]
] ]
], ],
"publicIds" : [ "publicIds" : [
@ -185,7 +185,7 @@
] ]
], ],
["tel", {"type":["voice"]}, "uri", "tel:+1.2223334444"], ["tel", {"type":["voice"]}, "uri", "tel:+1.2223334444"],
["email", {}, "text", "new.registrar@example.com"] ["email", {}, "text", "the.registrar@example.com"]
] ]
], ],
"publicIds" : [ "publicIds" : [

View file

@ -98,7 +98,7 @@
] ]
], ],
["tel", {"type":["voice"]}, "uri", "tel:+1.2223334444"], ["tel", {"type":["voice"]}, "uri", "tel:+1.2223334444"],
["email", {}, "text", "new.registrar@example.com"] ["email", {}, "text", "the.registrar@example.com"]
] ]
], ],
"publicIds" : [ "publicIds" : [
@ -185,7 +185,7 @@
] ]
], ],
["tel", {"type":["voice"]}, "uri", "tel:+1.2223334444"], ["tel", {"type":["voice"]}, "uri", "tel:+1.2223334444"],
["email", {}, "text", "new.registrar@example.com"] ["email", {}, "text", "the.registrar@example.com"]
] ]
], ],
"publicIds" : [ "publicIds" : [

View file

@ -99,7 +99,7 @@
] ]
], ],
["tel", {"type":["voice"]}, "uri", "tel:+1.2223334444"], ["tel", {"type":["voice"]}, "uri", "tel:+1.2223334444"],
["email", {}, "text", "new.registrar@example.com"] ["email", {}, "text", "the.registrar@example.com"]
] ]
], ],
"publicIds" : [ "publicIds" : [
@ -188,7 +188,7 @@
] ]
], ],
["tel", {"type":["voice"]}, "uri", "tel:+1.2223334444"], ["tel", {"type":["voice"]}, "uri", "tel:+1.2223334444"],
["email", {}, "text", "new.registrar@example.com"] ["email", {}, "text", "the.registrar@example.com"]
] ]
], ],
"publicIds" : [ "publicIds" : [

View file

@ -100,7 +100,7 @@
] ]
], ],
["tel", {"type":["voice"]}, "uri", "tel:+1.2223334444"], ["tel", {"type":["voice"]}, "uri", "tel:+1.2223334444"],
["email", {}, "text", "new.registrar@example.com"] ["email", {}, "text", "the.registrar@example.com"]
] ]
], ],
"publicIds" : [ "publicIds" : [
@ -188,7 +188,7 @@
] ]
], ],
["tel", {"type":["voice"]}, "uri", "tel:+1.2223334444"], ["tel", {"type":["voice"]}, "uri", "tel:+1.2223334444"],
["email", {}, "text", "new.registrar@example.com"] ["email", {}, "text", "the.registrar@example.com"]
] ]
], ],
"publicIds" : [ "publicIds" : [

View file

@ -66,7 +66,7 @@
"11211", "11211",
"United States"]], "United States"]],
["tel", {"type" : ["voice"]}, "uri", "tel:+1.2223334444"], ["tel", {"type" : ["voice"]}, "uri", "tel:+1.2223334444"],
["email", {}, "text", "new.registrar@example.com"] ["email", {}, "text", "the.registrar@example.com"]
] ]
], ],
"remarks": [ "remarks": [

View file

@ -61,7 +61,7 @@
"11211", "11211",
"United States"]], "United States"]],
["tel", {"type" : ["voice"]}, "uri", "tel:+1.2223334444"], ["tel", {"type" : ["voice"]}, "uri", "tel:+1.2223334444"],
["email", {}, "text", "new.registrar@example.com"] ["email", {}, "text", "the.registrar@example.com"]
] ]
], ],
"remarks": [ "remarks": [

View file

@ -67,7 +67,7 @@
"11211", "11211",
"United States"]], "United States"]],
["tel", {"type" : ["voice"]}, "uri", "tel:+1.2223334444"], ["tel", {"type" : ["voice"]}, "uri", "tel:+1.2223334444"],
["email", {}, "text", "new.registrar@example.com"] ["email", {}, "text", "the.registrar@example.com"]
] ]
], ],
"remarks": [ "remarks": [

View file

@ -67,7 +67,7 @@
"11211", "11211",
"United States"]], "United States"]],
["tel", {"type" : ["voice"]}, "uri", "tel:+1.2223334444"], ["tel", {"type" : ["voice"]}, "uri", "tel:+1.2223334444"],
["email", {}, "text", "new.registrar@example.com"] ["email", {}, "text", "the.registrar@example.com"]
] ]
], ],
"remarks": [ "remarks": [

View file

@ -65,7 +65,7 @@
"11211", "11211",
"United States"]], "United States"]],
["tel", {"type" : ["voice"]}, "uri", "tel:+1.2223334444"], ["tel", {"type" : ["voice"]}, "uri", "tel:+1.2223334444"],
["email", {}, "text", "new.registrar@example.com"] ["email", {}, "text", "the.registrar@example.com"]
] ]
], ],
"remarks": [ "remarks": [
@ -145,7 +145,7 @@
"11211", "11211",
"United States"]], "United States"]],
["tel", {"type" : ["voice"]}, "uri", "tel:+1.2223334444"], ["tel", {"type" : ["voice"]}, "uri", "tel:+1.2223334444"],
["email", {}, "text", "new.registrar@example.com"] ["email", {}, "text", "the.registrar@example.com"]
] ]
], ],
"remarks": [ "remarks": [

View file

@ -65,7 +65,7 @@
"11211", "11211",
"United States"]], "United States"]],
["tel", {"type" : ["voice"]}, "uri", "tel:+1.2223334444"], ["tel", {"type" : ["voice"]}, "uri", "tel:+1.2223334444"],
["email", {}, "text", "new.registrar@example.com"] ["email", {}, "text", "the.registrar@example.com"]
] ]
], ],
"remarks": [ "remarks": [
@ -144,7 +144,7 @@
"11211", "11211",
"United States"]], "United States"]],
["tel", {"type" : ["voice"]}, "uri", "tel:+1.2223334444"], ["tel", {"type" : ["voice"]}, "uri", "tel:+1.2223334444"],
["email", {}, "text", "new.registrar@example.com"] ["email", {}, "text", "the.registrar@example.com"]
] ]
], ],
"remarks": [ "remarks": [
@ -223,7 +223,7 @@
"11211", "11211",
"United States"]], "United States"]],
["tel", {"type" : ["voice"]}, "uri", "tel:+1.2223334444"], ["tel", {"type" : ["voice"]}, "uri", "tel:+1.2223334444"],
["email", {}, "text", "new.registrar@example.com"] ["email", {}, "text", "the.registrar@example.com"]
] ]
], ],
"remarks": [ "remarks": [
@ -302,7 +302,7 @@
"11211", "11211",
"United States"]], "United States"]],
["tel", {"type" : ["voice"]}, "uri", "tel:+1.2223334444"], ["tel", {"type" : ["voice"]}, "uri", "tel:+1.2223334444"],
["email", {}, "text", "new.registrar@example.com"] ["email", {}, "text", "the.registrar@example.com"]
] ]
], ],
"remarks": [ "remarks": [

View file

@ -65,7 +65,7 @@
"11211", "11211",
"United States"]], "United States"]],
["tel", {"type" : ["voice"]}, "uri", "tel:+1.2223334444"], ["tel", {"type" : ["voice"]}, "uri", "tel:+1.2223334444"],
["email", {}, "text", "new.registrar@example.com"] ["email", {}, "text", "the.registrar@example.com"]
] ]
], ],
"remarks": [ "remarks": [
@ -144,7 +144,7 @@
"11211", "11211",
"United States"]], "United States"]],
["tel", {"type" : ["voice"]}, "uri", "tel:+1.2223334444"], ["tel", {"type" : ["voice"]}, "uri", "tel:+1.2223334444"],
["email", {}, "text", "new.registrar@example.com"] ["email", {}, "text", "the.registrar@example.com"]
] ]
], ],
"remarks": [ "remarks": [
@ -223,7 +223,7 @@
"11211", "11211",
"United States"]], "United States"]],
["tel", {"type" : ["voice"]}, "uri", "tel:+1.2223334444"], ["tel", {"type" : ["voice"]}, "uri", "tel:+1.2223334444"],
["email", {}, "text", "new.registrar@example.com"] ["email", {}, "text", "the.registrar@example.com"]
] ]
], ],
"remarks": [ "remarks": [
@ -302,7 +302,7 @@
"11211", "11211",
"United States"]], "United States"]],
["tel", {"type" : ["voice"]}, "uri", "tel:+1.2223334444"], ["tel", {"type" : ["voice"]}, "uri", "tel:+1.2223334444"],
["email", {}, "text", "new.registrar@example.com"] ["email", {}, "text", "the.registrar@example.com"]
] ]
], ],
"remarks": [ "remarks": [

View file

@ -69,7 +69,7 @@ public class RdeMarshallerTest extends ShardableTestCase {
+ " </rdeRegistrar:addr>\n" + " </rdeRegistrar:addr>\n"
+ " </rdeRegistrar:postalInfo>\n" + " </rdeRegistrar:postalInfo>\n"
+ " <rdeRegistrar:voice>+1.2223334444</rdeRegistrar:voice>\n" + " <rdeRegistrar:voice>+1.2223334444</rdeRegistrar:voice>\n"
+ " <rdeRegistrar:email>new.registrar@example.com</rdeRegistrar:email>\n" + " <rdeRegistrar:email>the.registrar@example.com</rdeRegistrar:email>\n"
+ " <rdeRegistrar:url>http://my.fake.url</rdeRegistrar:url>\n" + " <rdeRegistrar:url>http://my.fake.url</rdeRegistrar:url>\n"
+ " <rdeRegistrar:whoisInfo>\n" + " <rdeRegistrar:whoisInfo>\n"
+ " <rdeRegistrar:name>whois.nic.fakewhois.example</rdeRegistrar:name>\n" + " <rdeRegistrar:name>whois.nic.fakewhois.example</rdeRegistrar:name>\n"

View file

@ -94,7 +94,7 @@
</rdeRegistrar:addr> </rdeRegistrar:addr>
</rdeRegistrar:postalInfo> </rdeRegistrar:postalInfo>
<rdeRegistrar:voice>+1.2223334444</rdeRegistrar:voice> <rdeRegistrar:voice>+1.2223334444</rdeRegistrar:voice>
<rdeRegistrar:email>new.registrar@example.com</rdeRegistrar:email> <rdeRegistrar:email>the.registrar@example.com</rdeRegistrar:email>
<rdeRegistrar:url>http://my.fake.url</rdeRegistrar:url> <rdeRegistrar:url>http://my.fake.url</rdeRegistrar:url>
<rdeRegistrar:whoisInfo> <rdeRegistrar:whoisInfo>
<rdeRegistrar:name>whois.nic.fakewhois.example</rdeRegistrar:name> <rdeRegistrar:name>whois.nic.fakewhois.example</rdeRegistrar:name>

View file

@ -162,7 +162,6 @@ public final class AppEngineRule extends ExternalResource {
return new Registrar.Builder() return new Registrar.Builder()
.setType(Registrar.Type.REAL) .setType(Registrar.Type.REAL)
.setState(State.ACTIVE) .setState(State.ACTIVE)
.setEmailAddress("new.registrar@example.com")
.setIcannReferralEmail("lol@sloth.test") .setIcannReferralEmail("lol@sloth.test")
.setUrl("http://my.fake.url") .setUrl("http://my.fake.url")
.setInternationalizedAddress(new RegistrarAddress.Builder() .setInternationalizedAddress(new RegistrarAddress.Builder()
@ -189,6 +188,7 @@ public final class AppEngineRule extends ExternalResource {
return makeRegistrarCommon() return makeRegistrarCommon()
.setClientId("NewRegistrar") .setClientId("NewRegistrar")
.setRegistrarName("New Registrar") .setRegistrarName("New Registrar")
.setEmailAddress("new.registrar@example.com")
.setIanaIdentifier(8L) .setIanaIdentifier(8L)
.setPassword("foo-BAR2") .setPassword("foo-BAR2")
.setPhoneNumber("+1.3334445555") .setPhoneNumber("+1.3334445555")
@ -201,6 +201,7 @@ public final class AppEngineRule extends ExternalResource {
return makeRegistrarCommon() return makeRegistrarCommon()
.setClientId("TheRegistrar") .setClientId("TheRegistrar")
.setRegistrarName("The Registrar") .setRegistrarName("The Registrar")
.setEmailAddress("the.registrar@example.com")
.setIanaIdentifier(1L) .setIanaIdentifier(1L)
.setPassword("password2") .setPassword("password2")
.setPhoneNumber("+1.2223334444") .setPhoneNumber("+1.2223334444")

View file

@ -106,7 +106,7 @@
</rdeRegistrar:addr> </rdeRegistrar:addr>
</rdeRegistrar:postalInfo> </rdeRegistrar:postalInfo>
<rdeRegistrar:voice>+1.2223334444</rdeRegistrar:voice> <rdeRegistrar:voice>+1.2223334444</rdeRegistrar:voice>
<rdeRegistrar:email>new.registrar@example.com</rdeRegistrar:email> <rdeRegistrar:email>the.registrar@example.com</rdeRegistrar:email>
<rdeRegistrar:whoisInfo> <rdeRegistrar:whoisInfo>
<rdeRegistrar:name>whois.nic.fakewhois.example</rdeRegistrar:name> <rdeRegistrar:name>whois.nic.fakewhois.example</rdeRegistrar:name>
</rdeRegistrar:whoisInfo> </rdeRegistrar:whoisInfo>

View file

@ -7,7 +7,7 @@ localizedAddress.street.1: null -> Ste 156
localizedAddress.city: Williamsburg -> New York localizedAddress.city: Williamsburg -> New York
localizedAddress.zip: 11211 -> 10011 localizedAddress.zip: 11211 -> 10011
phoneNumber: +1.2223334444 -> +1.2223335555 phoneNumber: +1.2223334444 -> +1.2223335555
emailAddress: new.registrar@example.com -> thase@the.registrar emailAddress: the.registrar@example.com -> thase@the.registrar
url: http://my.fake.url -> http://my.new.url url: http://my.fake.url -> http://my.new.url
contacts: contacts:
ADDED: ADDED:

Binary file not shown.

Before

Width:  |  Height:  |  Size: 61 KiB

After

Width:  |  Height:  |  Size: 61 KiB

Before After
Before After

Binary file not shown.

Before

Width:  |  Height:  |  Size: 58 KiB

After

Width:  |  Height:  |  Size: 57 KiB

Before After
Before After

Binary file not shown.

Before

Width:  |  Height:  |  Size: 55 KiB

After

Width:  |  Height:  |  Size: 55 KiB

Before After
Before After