From 13f3c6c4b6765f9109ed73c697f4b4194c08b525 Mon Sep 17 00:00:00 2001 From: jackkray Date: Tue, 13 Aug 2024 11:20:49 +0200 Subject: [PATCH] feature(bank-api-library) Add override function PP-184 --- .../gini/android/bank/api/BankApiDocumentRemoteSourceTest.kt | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/bank-api-library/library/src/test/java/net/gini/android/bank/api/BankApiDocumentRemoteSourceTest.kt b/bank-api-library/library/src/test/java/net/gini/android/bank/api/BankApiDocumentRemoteSourceTest.kt index f8606e91f..72cea28a4 100644 --- a/bank-api-library/library/src/test/java/net/gini/android/bank/api/BankApiDocumentRemoteSourceTest.kt +++ b/bank-api-library/library/src/test/java/net/gini/android/bank/api/BankApiDocumentRemoteSourceTest.kt @@ -11,6 +11,7 @@ import kotlinx.coroutines.test.runTest import net.gini.android.bank.api.models.ResolvePaymentInput import net.gini.android.bank.api.requests.ErrorEvent import net.gini.android.bank.api.requests.ResolvePaymentBody +import net.gini.android.bank.api.response.ConfigurationResponse import net.gini.android.bank.api.response.ResolvePaymentResponse import net.gini.android.core.api.response.PaymentRequestResponse import net.gini.android.core.api.response.PaymentResponse @@ -110,6 +111,10 @@ class BankApiDocumentRemoteSourceTest { return Response.success(null) } + override suspend fun getConfigurations(bearer: Map): Response { + return Response.success(ConfigurationResponse(null, null, null, null, null, null)) + } + override suspend fun uploadDocument( bearer: Map, bytes: RequestBody,