Sending queue : code quality

This commit is contained in:
ganfra 2024-06-11 17:05:12 +02:00
parent 60de33b8c6
commit a603855933
5 changed files with 2 additions and 9 deletions

View file

@ -41,7 +41,6 @@ class SendingQueue @Inject constructor(
private val matrixClient: MatrixClient,
private val networkMonitor: NetworkMonitor,
) {
private val retryCount = AtomicInteger(0)
fun launchIn(coroutineScope: CoroutineScope) {

View file

@ -29,7 +29,6 @@ import kotlinx.coroutines.test.runTest
import org.junit.Test
@OptIn(ExperimentalCoroutinesApi::class) class SendingQueueTest {
private val matrixClient = FakeMatrixClient()
private val networkMonitor = FakeNetworkMonitor()
private val sut = SendingQueue(matrixClient, networkMonitor)
@ -77,5 +76,4 @@ import org.junit.Test
listOf(value(true)),
)
}
}