Skip to content

Commit

Permalink
resolve merge conflicts
Browse files Browse the repository at this point in the history
  • Loading branch information
agedd committed Nov 12, 2024
2 parents 0d5d4e0 + 9001cc4 commit 208840f
Show file tree
Hide file tree
Showing 6 changed files with 5 additions and 154 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
## unreleased (v7)
* Breaking Changes
* Bump minimum supported deployment target to iOS 16+
* `countryCodeAlpha2` now returns a 2 character country code instead of a 3 character country code
* BraintreePayPalNativeCheckout
* Remove entire PayPal Native Checkout module
* BraintreeVenmo
Expand Down
4 changes: 2 additions & 2 deletions Demo/Application/Base/Settings/BraintreeDemoSettings.swift
Original file line number Diff line number Diff line change
Expand Up @@ -45,9 +45,9 @@ class BraintreeDemoSettings: NSObject {
static var currentEnvironmentURLString: String {
switch currentEnvironment {
case .sandbox, .custom:
return "https://braintree-sample-merchant.herokuapp.com"
return "https://braintree-demo-merchant-63b7a2204f6e.herokuapp.com/"
case .production:
return "https://executive-sample-merchant.herokuapp.com"
return "https://braintree-production-merchant-455d21469113.herokuapp.com/"
}
}

Expand Down
11 changes: 0 additions & 11 deletions Demo/Demo.xcodeproj/xcshareddata/xcschemes/Demo.xcscheme
Original file line number Diff line number Diff line change
Expand Up @@ -230,17 +230,6 @@
ReferencedContainer = "container:../Braintree.xcodeproj">
</BuildableReference>
</TestableReference>
<TestableReference
skipped = "NO"
parallelizable = "YES">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "9CE5179A282D54030013C740"
BuildableName = "BraintreePayPalNativeCheckoutTests.xctest"
BlueprintName = "BraintreePayPalNativeCheckoutTests"
ReferencedContainer = "container:../Braintree.xcodeproj">
</BuildableReference>
</TestableReference>
<TestableReference
skipped = "NO"
parallelizable = "YES">
Expand Down
139 changes: 0 additions & 139 deletions SDK_ERROR_CODES.md

This file was deleted.

2 changes: 1 addition & 1 deletion Sources/BraintreeCore/BTCoreConstants.swift
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ import Foundation

static let apiVersion: String = "2016-10-07"

static let graphQLVersion: String = "2018-03-06"
static let graphQLVersion: String = "2024-11-05"

// swiftlint:disable force_unwrapping
static let payPalProductionURL = URL(string: "https://api.paypal.com")!
Expand Down
2 changes: 1 addition & 1 deletion UnitTests/BraintreeCoreTests/BTGraphQLHTTP_Tests.swift
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ final class BTGraphQLHTTP_Tests: XCTestCase {
http?.post("", configuration: fakeConfiguration, parameters: nil) { body, _, _ in
let httpRequest = BTHTTPTestProtocol.parseRequestFromTestResponseBody(body!)
let requestHeaders = httpRequest.allHTTPHeaderFields
XCTAssertEqual(requestHeaders!["Braintree-Version"], "2018-03-06")
XCTAssertEqual(requestHeaders!["Braintree-Version"], "2024-11-05")
expectation.fulfill()
}

Expand Down

0 comments on commit 208840f

Please sign in to comment.