fix tests
This commit is contained in:
parent
79135e6262
commit
8acb13ee37
|
@ -34,7 +34,7 @@ class ActionProfileSwitchPercentTest : ActionsTestBase() {
|
|||
}
|
||||
|
||||
@Test fun iconTest() {
|
||||
Assertions.assertEquals(info.nightscout.interfaces.R.drawable.ic_actions_profileswitch, sut.icon())
|
||||
Assertions.assertEquals(info.nightscout.core.ui.R.drawable.ic_actions_profileswitch, sut.icon())
|
||||
}
|
||||
|
||||
@Test fun doActionTest() {
|
||||
|
|
|
@ -106,6 +106,6 @@ class ActionProfileSwitchTest : ActionsTestBase() {
|
|||
}
|
||||
|
||||
@Test fun iconTest() {
|
||||
Assertions.assertEquals(info.nightscout.interfaces.R.drawable.ic_actions_profileswitch, sut.icon())
|
||||
Assertions.assertEquals(info.nightscout.core.ui.R.drawable.ic_actions_profileswitch, sut.icon())
|
||||
}
|
||||
}
|
|
@ -57,7 +57,7 @@ class TriggerProfilePercentTest : TriggerTestBase() {
|
|||
}
|
||||
|
||||
@Test fun iconTest() {
|
||||
Assertions.assertEquals(Optional.of(info.nightscout.interfaces.R.drawable.ic_actions_profileswitch), TriggerProfilePercent(injector).icon())
|
||||
Assertions.assertEquals(Optional.of(info.nightscout.core.ui.R.drawable.ic_actions_profileswitch), TriggerProfilePercent(injector).icon())
|
||||
}
|
||||
|
||||
@Test fun friendlyNameTest() {
|
||||
|
|
Loading…
Reference in a new issue