pull upstream/dev

This commit is contained in:
Robert Buessow 2023-12-05 15:37:30 +01:00
parent f0e7134d29
commit 35b3ce0300
2 changed files with 0 additions and 2 deletions

View file

@ -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)

View file

@ -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