From a8519e172d2be04a5cf24e2ba88dcc2d0af3f5c8 Mon Sep 17 00:00:00 2001 From: Zeeshan Sheikh <64203935+zeeshanmakeen@users.noreply.github.com> Date: Fri, 1 Mar 2024 21:22:08 +0500 Subject: [PATCH] Removed hardcoded values --- Tests/AmazonLocationiOSAuthSDKTests/AuthHelperTests.swift | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Tests/AmazonLocationiOSAuthSDKTests/AuthHelperTests.swift b/Tests/AmazonLocationiOSAuthSDKTests/AuthHelperTests.swift index c8f0c3d..54258c7 100644 --- a/Tests/AmazonLocationiOSAuthSDKTests/AuthHelperTests.swift +++ b/Tests/AmazonLocationiOSAuthSDKTests/AuthHelperTests.swift @@ -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 = "" 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 = "" + let region = "" let authHelper = AuthHelper() let authProvider = authHelper.authenticateWithAPIKey(apiKey: apiKey, region: region) XCTAssertEqual(authProvider.getAPIKey(), apiKey)