From 9a8d2f88da5edf332baa362e890d81b050ff6e03 Mon Sep 17 00:00:00 2001 From: Milos Kozak Date: Fri, 5 Aug 2022 14:42:24 +0200 Subject: [PATCH] fix tests --- .../plugins/pump/medtronic/comm/MedtronicHistoryDataUTest.kt | 2 +- .../plugins/pump/medtronic/data/MedtronicHistoryDataUTest.kt | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/medtronic/src/test/java/info/nightscout/androidaps/plugins/pump/medtronic/comm/MedtronicHistoryDataUTest.kt b/medtronic/src/test/java/info/nightscout/androidaps/plugins/pump/medtronic/comm/MedtronicHistoryDataUTest.kt index e2864fc967..0557795620 100644 --- a/medtronic/src/test/java/info/nightscout/androidaps/plugins/pump/medtronic/comm/MedtronicHistoryDataUTest.kt +++ b/medtronic/src/test/java/info/nightscout/androidaps/plugins/pump/medtronic/comm/MedtronicHistoryDataUTest.kt @@ -141,7 +141,7 @@ class MedtronicHistoryDataUTest : TestBase() { println("PumpHistoryEntries: getRewindItems: $rewindRecords.size : " + gson.toJson(rewindRecords)) - val processList: MutableList = medtronicHistoryData.createTBRProcessList(tbrs, rewindRecords) + val processList: MutableList = medtronicHistoryData.createTBRProcessList(tbrs) println("PumpHistoryEntries: processList: " + processList.size) diff --git a/medtronic/src/test/java/info/nightscout/androidaps/plugins/pump/medtronic/data/MedtronicHistoryDataUTest.kt b/medtronic/src/test/java/info/nightscout/androidaps/plugins/pump/medtronic/data/MedtronicHistoryDataUTest.kt index f880537198..c930e83710 100644 --- a/medtronic/src/test/java/info/nightscout/androidaps/plugins/pump/medtronic/data/MedtronicHistoryDataUTest.kt +++ b/medtronic/src/test/java/info/nightscout/androidaps/plugins/pump/medtronic/data/MedtronicHistoryDataUTest.kt @@ -55,7 +55,7 @@ class MedtronicHistoryDataUTest : TestBase() { println("TBR Pre-Process List: " + gson.toJson(yourClassList)) - val createTBRProcessList = unitToTest.createTBRProcessList(yourClassList, mutableListOf()) + val createTBRProcessList = unitToTest.createTBRProcessList(yourClassList) println("TBR Process List: " + createTBRProcessList.size) @@ -98,7 +98,7 @@ class MedtronicHistoryDataUTest : TestBase() { println("TBR Pre-Process List (Special): " + gson.toJson(yourClassList)) - val createTBRProcessList = unitToTest.createTBRProcessList(yourClassList, mutableListOf()) + val createTBRProcessList = unitToTest.createTBRProcessList(yourClassList) println("TBR Process List (Special): " + createTBRProcessList.size)