Skip to content

Commit acc7a5c

Browse files
committed
Fixed tests compilation
1 parent 23bd617 commit acc7a5c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

app/src/test/java/org/glucosio/android/presenter/OverviewPresenterTest.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ public void ShouldAddZerosBetweenReadings_WhenAsked() throws Exception {
4848
new GlucoseReading(21, "test", now.toDate(), ""))
4949
);
5050

51-
presenter.loadDatabase();
51+
presenter.loadDatabase(true);
5252

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

69-
presenter.loadDatabase();
69+
presenter.loadDatabase(true);
7070

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

0 commit comments

Comments
 (0)