mirror of
https://github.com/google/nomulus
synced 2026-09-01 05:37:08 +00:00
Replace 'referralUrl' with 'url' in WHOIS responses
The 'referralUrl' Datastore field is filled with mostly junk data, whereas 'url' contains real registrar web addresses. This makes the long needed fix to display the proper url in WHOIS. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=194398003
This commit is contained in:
@@ -70,7 +70,11 @@ public class DomainWhoisResponseTest {
|
||||
// Update the registrar to have an IANA ID.
|
||||
Registrar registrar =
|
||||
persistResource(
|
||||
loadRegistrar("NewRegistrar").asBuilder().setIanaIdentifier(5555555L).build());
|
||||
loadRegistrar("NewRegistrar")
|
||||
.asBuilder()
|
||||
.setUrl("http://my.fake.url")
|
||||
.setIanaIdentifier(5555555L)
|
||||
.build());
|
||||
|
||||
persistResource(
|
||||
new RegistrarContact.Builder()
|
||||
|
||||
Reference in New Issue
Block a user