Skip to content

Commit

Permalink
Fix test API conformances
Browse files Browse the repository at this point in the history
  • Loading branch information
mats-stripe committed Jan 22, 2025
1 parent 10af40e commit 27b77d0
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ class EmptyFinancialConnectionsAPIClient: FinancialConnectionsAPI {

func completeAssertion(
possibleError: Error?,
api: FinancialConnectionsAPIClientLogger.API,
pane: FinancialConnectionsSessionManifest.NextPane
) {}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -110,8 +110,11 @@ class FinancialConnectionsAPIClientTests: XCTestCase {
]
let apiClient = FinancialConnectionsAPIClient(apiClient: mockApiClient)
apiClient
.assertAndApplyAttestationParameters(to: baseParameters, pane: .consent)
.observe { result in
.assertAndApplyAttestationParameters(
to: baseParameters,
api: .linkSignUp,
pane: .consent
).observe { result in
switch result {
case .success(let updatedParameters):
XCTAssertNotNil(updatedParameters["base_parameter"])
Expand Down

0 comments on commit 27b77d0

Please sign in to comment.