Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update PaymentIntents support #1038

Merged
merged 16 commits into from
Nov 14, 2018
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Fix copy/paste error in failing test
  • Loading branch information
danj-stripe committed Nov 13, 2018
commit 09614b1359039e69476afaeb0f7e9e63f5479d8f
2 changes: 1 addition & 1 deletion Tests/Tests/STPPaymentIntentTest.m
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ - (void)testConfirmationMethodFromString {
- (void)testSourceActionFromString {
XCTAssertEqual([STPPaymentIntent sourceActionTypeFromString:@"authorize_with_url"],
STPPaymentIntentSourceActionTypeAuthorizeWithURL);
XCTAssertEqual([STPPaymentIntent confirmationMethodFromString:@"AUTHORIZE_WITH_URL"],
XCTAssertEqual([STPPaymentIntent sourceActionTypeFromString:@"AUTHORIZE_WITH_URL"],
STPPaymentIntentSourceActionTypeAuthorizeWithURL);

XCTAssertEqual([STPPaymentIntent confirmationMethodFromString:@"garbage"],
Expand Down