mirror of
https://github.com/google/nomulus.git
synced 2025-07-12 14:08:18 +02:00
Change DomainApplication to store period instead of year
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=137426843
This commit is contained in:
parent
60cb1b4dfb
commit
8b068250d6
6 changed files with 16 additions and 12 deletions
|
@ -60,7 +60,7 @@ public class DomainApplicationTest extends EntityTestCase {
|
|||
@Before
|
||||
public void setUp() throws Exception {
|
||||
createTld("com");
|
||||
// Set up a new persisted domain entity.
|
||||
// Set up a new persisted domain application entity.
|
||||
domainApplication = cloneAndSetAutoTimestamps(
|
||||
new DomainApplication.Builder()
|
||||
.setFullyQualifiedDomainName("example.com")
|
||||
|
@ -102,6 +102,7 @@ public class DomainApplicationTest extends EntityTestCase {
|
|||
.build())
|
||||
.setCreationTrid(Trid.create("client creation trid"))
|
||||
.setPhase(LaunchPhase.LANDRUSH)
|
||||
.setPeriod(Period.create(5, Period.Unit.YEARS))
|
||||
.setEncodedSignedMarks(ImmutableList.of(EncodedSignedMark.create("base64", "abcdefg=")))
|
||||
.setApplicationStatus(ApplicationStatus.ALLOCATED)
|
||||
.setAuctionPrice(Money.of(USD, 11))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue