fix tests
This commit is contained in:
parent
34b26b194f
commit
12a15b3ad1
|
@ -94,7 +94,7 @@ class GlucoseStatusTest : TestBaseWithProfile() {
|
|||
@Test fun returnOldDataIfAllowed() {
|
||||
Mockito.`when`(autosensDataStore.getBucketedDataTableCopy()).thenReturn(generateOldBgData())
|
||||
val glucoseStatus: GlucoseStatus? = GlucoseStatusProviderImpl(aapsLogger, iobCobCalculatorPlugin, dateUtil, decimalFormatter).getGlucoseStatusData(true)
|
||||
assertThat(glucoseStatus).isNull()
|
||||
assertThat(glucoseStatus).isNotNull()
|
||||
}
|
||||
|
||||
@Test fun averageShouldNotFailOnEmptyArray() {
|
||||
|
|
Loading…
Reference in a new issue