Skip to content

Commit

Permalink
Merge branch 'main' into cleanup-ui-tests
Browse files Browse the repository at this point in the history
# Conflicts:
#	Demo/Application/DemoAppDelegate.swift
#	Demo/Application/DemoContainerViewController.swift
#	Demo/Application/Settings/DemoSettings.swift
  • Loading branch information
jaxdesmarais committed Nov 6, 2023
2 parents e623d78 + 1928bdc commit c6446a3
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 6 deletions.
2 changes: 0 additions & 2 deletions Demo/Application/DemoAppDelegate.swift
Original file line number Diff line number Diff line change
Expand Up @@ -62,8 +62,6 @@ class DemoAppDelegate: UIResponder, UIApplicationDelegate {
UserDefaults.standard.setValue(DemoAuthType.tokenizationKey.rawValue, forKey: DemoSettings.AuthorizationTypeDefaultsKey)
} else if testArguments.contains("-MockedPayPalTokenizationKey") {
UserDefaults.standard.setValue(DemoAuthType.mockedPayPalTokenizationKey.rawValue, forKey: DemoSettings.AuthorizationTypeDefaultsKey)
} else if testArguments.contains("-UITestHardcodedClientTokenWithCustomerID") {
UserDefaults.standard.setValue(DemoAuthType.uiTestHardcodedClientTokenWithCustomerID.rawValue, forKey: DemoSettings.AuthorizationTypeDefaultsKey)
} else if testArguments.contains("-UITestHardcodedClientTokenWithoutCustomerID") {
UserDefaults.standard.setValue(DemoAuthType.uiTestHardcodedClientTokenWithoutCustomerID.rawValue, forKey: DemoSettings.AuthorizationTypeDefaultsKey)
} else if testArguments.contains("-UITestHardcodedClientTokenWithCVVValidationEnabled") {
Expand Down
3 changes: 0 additions & 3 deletions Demo/Application/DemoContainerViewController.swift
Original file line number Diff line number Diff line change
Expand Up @@ -122,9 +122,6 @@ class DemoContainerViewController: UIViewController {

tokenizationKey = "sandbox_q7v35n9n_555d2htrfsnnmfb3"
currentViewController = instantiateCurrentViewController(with: tokenizationKey)
case .uiTestHardcodedClientTokenWithCustomerID:
let uiTestClientTokenWithCustomerID = "eyJ2ZXJzaW9uIjoyLCJhdXRob3JpemF0aW9uRmluZ2VycHJpbnQiOiJleUowZVhB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joiQWNtZSBXaWRnZXRzLCBMdGQuIChTYW5kYm94KSIsImNsaWVudElkIjoiQWI0VGpySElyNmoxaElVY1RhWlpCYmZMZUFaOXFfUUFSalBhRVU1dnpNMVBSYl9kRTNHTjNaT0tITG9yX2VJZ1pFazNXTzNLMVdUMTlUWDYiLCJiYXNlVXJsIjoiaHR0cHM6Ly9hc3NldHMuYnJhaW50cmVlZ2F0ZXdheS5jb20iLCJhc3NldHNVcmwiOiJodHRwczovL2NoZWNrb3V0LnBheXBhbC5jb20iLCJkaXJlY3RCYXNlVXJsIjpudWxsLCJlbnZpcm9ubWVudCI6Im9mZmxpbmUiLCJicmFpbnRyZWVDbGllbnRJZCI6Im1hc3RlcmNsaWVudDMiLCJtZXJjaGFudEFjY291bnRJZCI6InN0Y2gybmZkZndzenl0dzUiLCJjdXJyZW5jeUlzb0NvZGUiOiJVU0QifX0="
currentViewController = instantiateCurrentViewController(with: uiTestClientTokenWithCustomerID)
case .uiTestHardcodedClientTokenWithoutCustomerID:
let uiTestClientTokenWithoutCustomerID = "eyJ2ZXJzaW9uIjozLCJhdXRob3JpemF0aW9uRmluZ2VycHJpbnQiOiIxYzM5N2E5OGZmZGRkNDQwM2VjNzEzYWRjZTI3NTNiMzJlODc2MzBiY2YyN2M3NmM2OWVmZjlkMTE5MjljOTVkfGNyZWF0ZWRfYXQ9MjAxNy0wNC0wNVQwNjowNzowOC44MTUwOTkzMjUrMDAwMFx1MDAyNm1lcmNoYW50X2lkPWRjcHNweTJicndkanIzcW5cdTAwMjZwdWJsaWNfa2V5PTl3d3J6cWszdnIzdDRuYzgiLCJjb25maWdVcmwiOiJodHRwczovL2FwaS5zYW5kYm94LmJyYWludHJlZWdhdGV3YXkuY29tOjQ0My9tZXJjaGFudHMvZGNwc3B5MmJyd2RqcjNxbi9jbGllbnRfYXBpL3YxL2NvbmZpZ3VyYXRpb24ifQ=="
currentViewController = instantiateCurrentViewController(with: uiTestClientTokenWithoutCustomerID)
Expand Down
1 change: 0 additions & 1 deletion Demo/Application/Settings/DemoSettings.swift
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@ enum DemoAuthType: Int {
case clientToken
case tokenizationKey
case mockedPayPalTokenizationKey
case uiTestHardcodedClientTokenWithCustomerID
case uiTestHardcodedClientTokenWithoutCustomerID
case uiTestHardcodedClientTokenwithCVVValidationEnabled
}
Expand Down

0 comments on commit c6446a3

Please sign in to comment.