pull upstream/dev
This commit is contained in:
parent
f0e7134d29
commit
35b3ce0300
|
@ -381,7 +381,6 @@ class GarminPlugin @Inject constructor(
|
|||
|
||||
/** Returns glucose values in Nightscout/Xdrip format. */
|
||||
@VisibleForTesting
|
||||
@Suppress("UNUSED_PARAMETER")
|
||||
fun onSgv(uri: URI): CharSequence {
|
||||
val count = getQueryParameter(uri,"count", 24L)
|
||||
.toInt().coerceAtMost(1000).coerceAtLeast(1)
|
||||
|
|
|
@ -14,7 +14,6 @@ import org.junit.jupiter.api.Assertions.assertArrayEquals
|
|||
import org.junit.jupiter.api.Assertions.assertEquals
|
||||
import org.junit.jupiter.api.Assertions.assertThrows
|
||||
import org.junit.jupiter.api.BeforeEach
|
||||
import org.junit.jupiter.api.RepeatedTest
|
||||
import org.junit.jupiter.api.Test
|
||||
import org.mockito.ArgumentCaptor
|
||||
import org.mockito.ArgumentMatchers.anyBoolean
|
||||
|
|
Loading…
Reference in a new issue