From e1343add5d594bb7c8e04e74a2f7e77503bdfdcb Mon Sep 17 00:00:00 2001 From: Abdourahamane Boinaidi Date: Tue, 17 Dec 2024 14:24:46 +0100 Subject: [PATCH] chore: Update TransferRepositoryTest --- .../network/TransferRepositoryTest.kt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/STNetwork/src/commonTest/kotlin/com/infomaniak/multiplatform_swisstransfer/network/TransferRepositoryTest.kt b/STNetwork/src/commonTest/kotlin/com/infomaniak/multiplatform_swisstransfer/network/TransferRepositoryTest.kt index c575e91f..1c7d9074 100644 --- a/STNetwork/src/commonTest/kotlin/com/infomaniak/multiplatform_swisstransfer/network/TransferRepositoryTest.kt +++ b/STNetwork/src/commonTest/kotlin/com/infomaniak/multiplatform_swisstransfer/network/TransferRepositoryTest.kt @@ -17,6 +17,7 @@ */ package com.infomaniak.multiplatform_swisstransfer.network +import com.infomaniak.multiplatform_swisstransfer.common.utils.ApiEnvironment import com.infomaniak.multiplatform_swisstransfer.network.models.ApiResponse import com.infomaniak.multiplatform_swisstransfer.network.models.transfer.TransferApi import com.infomaniak.multiplatform_swisstransfer.network.repositories.TransferRepository @@ -27,7 +28,7 @@ import kotlin.test.* class TransferRepositoryTest { private val apiClientProvider = ApiClientProvider() - private val transferRepository = TransferRepository(apiClientProvider) // TODO: Use mock client + private val transferRepository = TransferRepository(apiClientProvider, ApiEnvironment.Preprod) // TODO: Use mock client @Test fun canExtractLinkUUIDFromUrl() {