Skip to content

Commit

Permalink
Fixed tests compilation
Browse files Browse the repository at this point in the history
  • Loading branch information
emartynov committed Jul 8, 2016
1 parent 23bd617 commit acc7a5c
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ public void ShouldAddZerosBetweenReadings_WhenAsked() throws Exception {
new GlucoseReading(21, "test", now.toDate(), ""))
);

presenter.loadDatabase();
presenter.loadDatabase(true);

final List<Integer> readings = presenter.getGlucoseReadings();
DateTime minDateTime = DateTime.now().minusMonths(1).minusDays(15);
Expand All @@ -66,7 +66,7 @@ public void ShouldSortReadingsChronologically_WhenAsked() throws Exception {
new GlucoseReading(11, "test", twoDaysAgo.toDate(), ""))
);

presenter.loadDatabase();
presenter.loadDatabase(true);

final List<Integer> readings = presenter.getGlucoseReadings();
assertThat(readings).containsSequence(11, 0, 33);
Expand Down

0 comments on commit acc7a5c

Please sign in to comment.