mirror of
https://github.com/google/nomulus.git
synced 2025-08-03 16:32:11 +02: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:
parent
5313ca58d6
commit
ef1487cb57
18 changed files with 460 additions and 272 deletions
|
@ -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()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue