Skip to content

Commit

Permalink
remove unneeded test
Browse files Browse the repository at this point in the history
  • Loading branch information
jaxdesmarais committed Dec 16, 2024
1 parent a61142a commit b961343
Showing 1 changed file with 0 additions and 19 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -106,25 +106,6 @@ class BTThreeDSecureClient_Tests: XCTestCase {
waitForExpectations(timeout: 1)
}

func testPerformThreeDSecureLookup_whenCardAddChallengeNotRequested_sendsCardAddFalse() {
let expectation = self.expectation(description: "willCallCompletion")

threeDSecureRequest = BTThreeDSecureRequest(
amount: "9.97",
nonce: "fake-card-nonce",
cardAddChallengeRequested: false,
dfReferenceID: "df-reference-id"
)

client.performThreeDSecureLookup(threeDSecureRequest) { (lookup, error) in
XCTAssertFalse(self.mockAPIClient.lastPOSTParameters!["cardAdd"] as! Bool)

expectation.fulfill()
}

waitForExpectations(timeout: 1, handler: nil)
}

func testPerformThreeDSecureLookup_whenCardAddChallengeRequestedNotSet_doesNotSendCardAddParameter() {
let expectation = self.expectation(description: "willCallCompletion")

Expand Down

0 comments on commit b961343

Please sign in to comment.