fix tests
This commit is contained in:
parent
7e1988b2bc
commit
5c4055a17f
|
@ -30,6 +30,8 @@ class AbstractSensitivityPluginTest : TestBase() {
|
||||||
override val id: Sensitivity.SensitivityType
|
override val id: Sensitivity.SensitivityType
|
||||||
get() = Sensitivity.SensitivityType.UNKNOWN
|
get() = Sensitivity.SensitivityType.UNKNOWN
|
||||||
|
|
||||||
|
override fun maxAbsorptionHours(): Double = 8.0
|
||||||
|
|
||||||
override fun configuration(): JSONObject = JSONObject()
|
override fun configuration(): JSONObject = JSONObject()
|
||||||
|
|
||||||
override fun applyConfiguration(configuration: JSONObject) {}
|
override fun applyConfiguration(configuration: JSONObject) {}
|
||||||
|
|
|
@ -38,6 +38,7 @@ ActionsTestBase : TestBaseWithProfile() {
|
||||||
override var enabled: Boolean
|
override var enabled: Boolean
|
||||||
get() = true
|
get() = true
|
||||||
set(_) {}
|
set(_) {}
|
||||||
|
override var lastBgTriggeredRun: Long = 0
|
||||||
|
|
||||||
override fun invoke(initiator: String, allowNotification: Boolean, tempBasalFallback: Boolean) {}
|
override fun invoke(initiator: String, allowNotification: Boolean, tempBasalFallback: Boolean) {}
|
||||||
override fun acceptChangeRequest() {}
|
override fun acceptChangeRequest() {}
|
||||||
|
|
Loading…
Reference in a new issue