mirror of
https://github.com/google/nomulus.git
synced 2025-07-24 03:30:46 +02:00
Registrant of a domain can never be null
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=122630609
This commit is contained in:
parent
68b75461db
commit
d2a66e9d1f
14 changed files with 43 additions and 396 deletions
|
@ -66,6 +66,9 @@ final class RdeFixtures {
|
|||
DomainResource domain = new DomainResource.Builder()
|
||||
.setFullyQualifiedDomainName("example." + tld)
|
||||
.setRepoId(generateNewDomainRoid(tld))
|
||||
.setRegistrant(Ref.create(
|
||||
makeContactResource(clock,
|
||||
"5372808-ERL", "(◕‿◕) nevermore", "prophet@evil.みんな")))
|
||||
.build();
|
||||
HistoryEntry historyEntry =
|
||||
persistResource(new HistoryEntry.Builder().setParent(domain).build());
|
||||
|
@ -106,9 +109,6 @@ final class RdeFixtures {
|
|||
Ref.create(
|
||||
makeHostResource(
|
||||
clock, "ns2.cat.みんな", "bad:f00d:cafe::15:beef"))))
|
||||
.setRegistrant(Ref.create(
|
||||
makeContactResource(clock,
|
||||
"5372808-ERL", "(◕‿◕) nevermore", "prophet@evil.みんな")))
|
||||
.setRegistrationExpirationTime(DateTime.parse("1930-01-01T00:00:00Z"))
|
||||
.setGracePeriods(ImmutableSet.of(
|
||||
GracePeriod.forBillingEvent(GracePeriodStatus.RENEW,
|
||||
|
|
|
@ -103,7 +103,7 @@
|
|||
|
||||
<rdeHost:host>
|
||||
<rdeHost:name>bird.or.devil.xn--q9jyb4c</rdeHost:name>
|
||||
<rdeHost:roid>7-ROID</rdeHost:roid>
|
||||
<rdeHost:roid>8-ROID</rdeHost:roid>
|
||||
<rdeHost:status s="pendingUpdate"/>
|
||||
<rdeHost:addr ip="v4">1.2.3.4</rdeHost:addr>
|
||||
<rdeHost:clID>BusinessCat</rdeHost:clID>
|
||||
|
@ -116,7 +116,7 @@
|
|||
|
||||
<rdeHost:host>
|
||||
<rdeHost:name>ns2.cat.xn--q9jyb4c</rdeHost:name>
|
||||
<rdeHost:roid>8-ROID</rdeHost:roid>
|
||||
<rdeHost:roid>9-ROID</rdeHost:roid>
|
||||
<rdeHost:status s="pendingUpdate"/>
|
||||
<rdeHost:addr ip="v6">bad:f00d:cafe::15:beef</rdeHost:addr>
|
||||
<rdeHost:clID>BusinessCat</rdeHost:clID>
|
||||
|
@ -171,7 +171,7 @@
|
|||
|
||||
<rdeContact:contact>
|
||||
<rdeContact:id>5372808-IRL</rdeContact:id>
|
||||
<rdeContact:roid>5-ROID</rdeContact:roid>
|
||||
<rdeContact:roid>6-ROID</rdeContact:roid>
|
||||
<rdeContact:status s="ok"/>
|
||||
<rdeContact:postalInfo type="int">
|
||||
<contact:name>be that word our sign in parting</contact:name>
|
||||
|
@ -194,7 +194,7 @@
|
|||
|
||||
<rdeContact:contact>
|
||||
<rdeContact:id>5372808-TRL</rdeContact:id>
|
||||
<rdeContact:roid>6-ROID</rdeContact:roid>
|
||||
<rdeContact:roid>7-ROID</rdeContact:roid>
|
||||
<rdeContact:status s="ok"/>
|
||||
<rdeContact:postalInfo type="int">
|
||||
<contact:name>bird or fiend!? i shrieked upstarting</contact:name>
|
||||
|
@ -217,7 +217,7 @@
|
|||
|
||||
<rdeContact:contact>
|
||||
<rdeContact:id>5372808-ERL</rdeContact:id>
|
||||
<rdeContact:roid>9-ROID</rdeContact:roid>
|
||||
<rdeContact:roid>3-ROID</rdeContact:roid>
|
||||
<rdeContact:status s="ok"/>
|
||||
<rdeContact:postalInfo type="int">
|
||||
<contact:name>(◕‿◕) nevermore</contact:name>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue