Skip to content

Commit

Permalink
Update UnitTests/BraintreeCoreTests/ConfigurationLoader_Tests.swift
Browse files Browse the repository at this point in the history
Co-authored-by: Jax DesMarais-Leder <[email protected]>
  • Loading branch information
scannillo and jaxdesmarais authored Jul 11, 2024
1 parent fc32c19 commit 53f8208
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ class ConfigurationLoader_Tests: XCTestCase {
try? ConfigurationCache.shared.putInCache(authorization: "development_tokenization_key", configuration: BTConfiguration(json: BTJSON(value: sampleJSON)))

let expectation = expectation(description: "Callback invoked")
sut.getConfig() { configuration, error in
sut.getConfig { configuration, error in
XCTAssertEqual(configuration?.environment, "fake-env1")
XCTAssertEqual(configuration?.json?["test"].asString(), "value")
XCTAssertNil(self.mockHTTP.lastRequestEndpoint)
Expand Down

0 comments on commit 53f8208

Please sign in to comment.