mirror of
https://github.com/google/nomulus
synced 2026-09-19 14:34:18 +00:00
Make name and address fields required on Registrar
The absence of these fields causes RDE failures, so they are in effect required on any functioning registry system. We are currently experiencing problems in sandbox caused by null values on these fields. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=155474895
This commit is contained in:
@@ -16,7 +16,7 @@ package google.registry.whois;
|
||||
|
||||
import static com.google.common.truth.Truth.assertThat;
|
||||
import static google.registry.testing.DatastoreHelper.createTld;
|
||||
import static google.registry.testing.DatastoreHelper.persistResource;
|
||||
import static google.registry.testing.DatastoreHelper.persistNewRegistrar;
|
||||
import static google.registry.whois.WhoisHelper.loadWhoisTestFile;
|
||||
|
||||
import com.google.common.collect.ImmutableList;
|
||||
@@ -50,13 +50,7 @@ public class NameserverWhoisResponseTest {
|
||||
|
||||
@Before
|
||||
public void setUp() {
|
||||
persistResource(new Registrar.Builder()
|
||||
.setClientId("example")
|
||||
.setRegistrarName("Example Registrar, Inc.")
|
||||
.setType(Registrar.Type.REAL)
|
||||
.setIanaIdentifier(8L)
|
||||
.build());
|
||||
|
||||
persistNewRegistrar("example", "Example Registrar, Inc.", Registrar.Type.REAL, 8L);
|
||||
createTld("tld");
|
||||
|
||||
hostResource1 = new HostResource.Builder()
|
||||
|
||||
Reference in New Issue
Block a user