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:
mountford
2016-11-02 15:19:34 -04:00
committed by Ben McIlwain
parent 60cb1b4dfb
commit 8b068250d6
6 changed files with 16 additions and 12 deletions
@@ -220,7 +220,7 @@ public class DomainApplicationCreateFlowTest
assertAboutApplications().that(getLast(applications))
.hasFullyQualifiedDomainName(getUniqueIdFromCommand()).and()
.hasNumEncodedSignedMarks(sunriseApplication ? 1 : 0).and()
.hasYears(years).and()
.hasPeriodYears(years).and()
.hasOnlyOneHistoryEntryWhich()
.hasType(HistoryEntry.Type.DOMAIN_APPLICATION_CREATE).and()
.hasPeriodYears(years);