fix tests

This commit is contained in:
Milos Kozak 2022-04-04 22:24:18 +02:00
parent 7e1988b2bc
commit 5c4055a17f
2 changed files with 3 additions and 0 deletions

View file

@ -30,6 +30,8 @@ class AbstractSensitivityPluginTest : TestBase() {
override val id: Sensitivity.SensitivityType
get() = Sensitivity.SensitivityType.UNKNOWN
override fun maxAbsorptionHours(): Double = 8.0
override fun configuration(): JSONObject = JSONObject()
override fun applyConfiguration(configuration: JSONObject) {}

View file

@ -38,6 +38,7 @@ ActionsTestBase : TestBaseWithProfile() {
override var enabled: Boolean
get() = true
set(_) {}
override var lastBgTriggeredRun: Long = 0
override fun invoke(initiator: String, allowNotification: Boolean, tempBasalFallback: Boolean) {}
override fun acceptChangeRequest() {}