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:
mcilwain 2016-09-30 14:27:32 -07:00 committed by Ben McIlwain
parent d0c102e680
commit f969e58025
2 changed files with 27 additions and 5 deletions

View file

@ -218,6 +218,7 @@ public class DatastoreHelper {
.setContactId(contactId)
.setCurrentSponsorClientId("TheRegistrar")
.setAuthInfo(ContactAuthInfo.create(PasswordAuth.create("2fooBAR")))
.setCreationTimeForTest(START_OF_TIME)
.build();
}