From 12a15b3ad101499c126b603649fc1290b7ce0111 Mon Sep 17 00:00:00 2001 From: Milos Kozak Date: Wed, 20 Sep 2023 14:06:52 +0200 Subject: [PATCH] fix tests --- .../info/nightscout/implementation/iob/GlucoseStatusTest.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/implementation/src/test/java/info/nightscout/implementation/iob/GlucoseStatusTest.kt b/implementation/src/test/java/info/nightscout/implementation/iob/GlucoseStatusTest.kt index 8d96814e6e..fa0cbfbcf4 100644 --- a/implementation/src/test/java/info/nightscout/implementation/iob/GlucoseStatusTest.kt +++ b/implementation/src/test/java/info/nightscout/implementation/iob/GlucoseStatusTest.kt @@ -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() {