mirror of
https://github.com/google/nomulus.git
synced 2025-07-02 17:23:32 +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
|
@ -47,6 +47,7 @@ import google.registry.model.host.HostResource;
|
|||
import google.registry.model.index.EppResourceIndex;
|
||||
import google.registry.model.index.EppResourceIndexBucket;
|
||||
import google.registry.model.index.ForeignKeyIndex;
|
||||
import google.registry.model.registrar.Registrar;
|
||||
import google.registry.model.registry.Registry.TldState;
|
||||
import google.registry.testing.AppEngineRule;
|
||||
import google.registry.testing.ExceptionRule;
|
||||
|
@ -96,7 +97,7 @@ public class RdeImportUtilsTest extends ShardableTestCase {
|
|||
rdeImportUtils = new RdeImportUtils(ofy(), clock, "import-bucket", gcsUtils);
|
||||
createTld("test", TldState.PREDELEGATION);
|
||||
createTld("getld", TldState.GENERAL_AVAILABILITY);
|
||||
persistNewRegistrar("RegistrarX", 1L);
|
||||
persistNewRegistrar("RegistrarX", "RegistrarX", Registrar.Type.REAL, 1L);
|
||||
}
|
||||
|
||||
@After
|
||||
|
@ -287,8 +288,8 @@ public class RdeImportUtilsTest extends ShardableTestCase {
|
|||
.setContacts(ImmutableSet.of(
|
||||
DesignatedContact.create(Type.ADMIN, Key.create(admin)),
|
||||
DesignatedContact.create(Type.TECH, Key.create(admin))))
|
||||
.setPersistedCurrentSponsorClientId("RegistrarX")
|
||||
.setCreationClientId("RegistrarX")
|
||||
.setPersistedCurrentSponsorClientId("registrarx")
|
||||
.setCreationClientId("registrarx")
|
||||
.setCreationTime(DateTime.parse("1999-04-03T22:00:00.0Z"))
|
||||
.setRegistrationExpirationTime(DateTime.parse("2015-04-03T22:00:00.0Z"))
|
||||
.build();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue