Skip to content

Commit

Permalink
Merge pull request #2 from makeen-project/Remove_Test_Cases_Values
Browse files Browse the repository at this point in the history
Removed hardcoded values
  • Loading branch information
ejboucher authored Mar 1, 2024
2 parents 7109b77 + a8519e1 commit bde25d4
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 bde25d4

Please sign in to comment.