Skip to content

Commit

Permalink
feature(bank-api-library) Add override function
Browse files Browse the repository at this point in the history
PP-184
  • Loading branch information
jackkray committed Aug 13, 2024
1 parent b478146 commit 13f3c6c
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -110,6 +111,10 @@ class BankApiDocumentRemoteSourceTest {
return Response.success(null)
}

override suspend fun getConfigurations(bearer: Map<String, String>): Response<ConfigurationResponse> {
return Response.success(ConfigurationResponse(null, null, null, null, null, null))
}

override suspend fun uploadDocument(
bearer: Map<String, String>,
bytes: RequestBody,
Expand Down

0 comments on commit 13f3c6c

Please sign in to comment.