Skip to content

Commit

Permalink
Fix flaky 3DS UI tests
Browse files Browse the repository at this point in the history
Demo app must be configured to use client token
  • Loading branch information
richardshin committed May 25, 2016
1 parent 0b9eb5c commit fe076c9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions UITests/BraintreeThreeDSecure_UITests.swift
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ class BraintreeThreeDSecure_UITests: XCTestCase {
guard let clientToken = json["clientToken"] as? String else { return }
dispatch_async(dispatch_get_main_queue(), { () -> Void in
self.app.launchArguments.append("-EnvironmentSandbox")
self.app.launchArguments.append("-ClientToken")
self.app.launchArguments.append("-Authorization:\(clientToken)")
self.app.launchArguments.append("-Integration:BraintreeDemoThreeDSecureViewController")
self.app.launch()
Expand Down

0 comments on commit fe076c9

Please sign in to comment.