parent
14262b5176
commit
5a19329889
1 changed files with 3 additions and 3 deletions
|
@ -1,8 +1,8 @@
|
|||
package info.nightscout.pump.dana
|
||||
|
||||
import com.google.common.truth.Truth.assertThat
|
||||
import info.nightscout.interfaces.profile.Instantiator
|
||||
import info.nightscout.sharedtests.TestBaseWithProfile
|
||||
import org.junit.jupiter.api.Assertions
|
||||
import org.junit.jupiter.api.BeforeEach
|
||||
import org.junit.jupiter.api.Test
|
||||
import org.mockito.Mock
|
||||
|
@ -21,6 +21,6 @@ class DanaPumpTest : TestBaseWithProfile() {
|
|||
@Test
|
||||
fun detectDanaRS() {
|
||||
sut.hwModel = 0x05
|
||||
Assertions.assertTrue(sut.modelFriendlyName().contains("DanaRS"))
|
||||
assertThat(sut.modelFriendlyName()).contains("DanaRS")
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue