mirror of
https://github.com/google/nomulus.git
synced 2025-07-21 10:16:07 +02:00
Make DatastoreHelper set creation time to START_OF_TIME for contacts
It was already doing this for domains and hosts, and that it wasn't doing it for contacts was confusing and caused me to experience a difficult-to-track-down error in writing new code. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=134827468
This commit is contained in:
parent
d0c102e680
commit
f969e58025
2 changed files with 27 additions and 5 deletions
|
@ -218,6 +218,7 @@ public class DatastoreHelper {
|
|||
.setContactId(contactId)
|
||||
.setCurrentSponsorClientId("TheRegistrar")
|
||||
.setAuthInfo(ContactAuthInfo.create(PasswordAuth.create("2fooBAR")))
|
||||
.setCreationTimeForTest(START_OF_TIME)
|
||||
.build();
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue