Skip to content

Commit

Permalink
Merge pull request #68 from MeasureAuthoringTool/MAT-7197a
Browse files Browse the repository at this point in the history
MAT-7197: testcase fix
  • Loading branch information
RohitKandimalla authored Jun 4, 2024
2 parents 2c7fba3 + e28b440 commit 6077850
Showing 1 changed file with 7 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@
import java.util.Date;
import java.util.HashSet;
import java.util.List;
import java.util.Locale;
import java.util.Set;

import static org.hamcrest.CoreMatchers.is;
Expand Down Expand Up @@ -322,10 +323,14 @@ public void canBuildMeasureInfoFromMeasure() {
equalTo(measure.getGroups().get(0).getPopulationBasis().equals("boolean")));
assertThat(
measureInfoModel.getMeasurementPeriodStartDate(),
equalTo(DateFormat.getDateInstance().format(measure.getMeasurementPeriodStart())));
equalTo(
DateFormat.getDateInstance(DateFormat.LONG, Locale.US)
.format(measure.getMeasurementPeriodStart())));
assertThat(
measureInfoModel.getMeasurementPeriodEndDate(),
equalTo(DateFormat.getDateInstance().format(measure.getMeasurementPeriodEnd())));
equalTo(
DateFormat.getDateInstance(DateFormat.LONG, Locale.US)
.format(measure.getMeasurementPeriodEnd())));
assertThat(
measureInfoModel.getMeasureScoring(),
equalTo(
Expand Down

0 comments on commit 6077850

Please sign in to comment.