Skip to content

Commit

Permalink
Removed hardcoded values
Browse files Browse the repository at this point in the history
  • Loading branch information
zeeshanmakeen committed Mar 1, 2024
1 parent 7109b77 commit a8519e1
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Tests/AmazonLocationiOSAuthSDKTests/AuthHelperTests.swift
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,15 @@ import XCTest
final class AuthHelperTests: XCTestCase {

func testAuthWithIdentityPoolID() throws {
let identityPoolID = "us-east-1:d9a96645-afa9-4ad2-b780-cac8be20aeeb"
let identityPoolID = "<Enter you Identity pool ID here>"
let authHelper = AuthHelper()
let authProvider = authHelper.authenticateWithCognitoUserPool(identityPoolId: identityPoolID)
XCTAssertEqual(authProvider.getIdentityPoolId(), identityPoolID)
}

func testAuthWithAPIKey() throws {
let apiKey = "DummyAPIKey"
let region = "us-east-1"
let apiKey = "<Enter you API Key here>"
let region = "<Enter you region here>"
let authHelper = AuthHelper()
let authProvider = authHelper.authenticateWithAPIKey(apiKey: apiKey, region: region)
XCTAssertEqual(authProvider.getAPIKey(), apiKey)
Expand Down

0 comments on commit a8519e1

Please sign in to comment.