Skip to content

Commit

Permalink
Fix failing PayPal integration test
Browse files Browse the repository at this point in the history
  • Loading branch information
Richard Shin committed Jan 8, 2016
1 parent 8f2bce8 commit 31e8bf4
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions IntegrationTests/BraintreePayPal_IntegrationTests.m
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,8 @@ - (void)testFuturePayments_withTokenizationKey_tokenizesPayPalAccount {
- (void)testFuturePayments_withClientToken_tokenizesPayPalAccount {
BTAPIClient *apiClient = [[BTAPIClient alloc] initWithAuthorization:SANDBOX_CLIENT_TOKEN];
BTPayPalDriver *payPalDriver = [[BTPayPalDriver alloc] initWithAPIClient:apiClient];
id stubDelegate = [[BTViewControllerPresentingTestDelegate alloc] init];
payPalDriver.viewControllerPresentingDelegate = stubDelegate;
[BTAppSwitch sharedInstance].returnURLScheme = @"com.braintreepayments.Demo.payments";

XCTestExpectation *expectation = [self expectationWithDescription:@"Tokenized PayPal Account"];
Expand Down

0 comments on commit 31e8bf4

Please sign in to comment.