From f85fc417f9777216c01b5b55952f157e449b8d5e Mon Sep 17 00:00:00 2001 From: Sichan Yoo Date: Wed, 14 Feb 2024 12:22:24 -0800 Subject: [PATCH] Delete redundant test file that doesn't do anything. --- ...SWedIdentityCredentialsProviderTests.swift | 28 ------------------- 1 file changed, 28 deletions(-) delete mode 100644 Tests/Core/AWSClientRuntimeTests/Auth/CredentialsProvidersTests/STSWedIdentityCredentialsProviderTests.swift diff --git a/Tests/Core/AWSClientRuntimeTests/Auth/CredentialsProvidersTests/STSWedIdentityCredentialsProviderTests.swift b/Tests/Core/AWSClientRuntimeTests/Auth/CredentialsProvidersTests/STSWedIdentityCredentialsProviderTests.swift deleted file mode 100644 index 082eb2645c7..00000000000 --- a/Tests/Core/AWSClientRuntimeTests/Auth/CredentialsProvidersTests/STSWedIdentityCredentialsProviderTests.swift +++ /dev/null @@ -1,28 +0,0 @@ -// -// Copyright Amazon.com Inc. or its affiliates. -// All Rights Reserved. -// -// SPDX-License-Identifier: Apache-2.0 -// - -import ClientRuntime -import Foundation -import XCTest - -@_spi(FileBasedConfig) @testable import AWSClientRuntime - -class STSWebIdentityCredentialsProviderTests: XCTestCase { - func testInit() async { - // For now we'll lean on CRT to test the implementation of this provider - // so just assert that we created the provider without crashing. - // Note: The underlying CRT provider throws an error if the role is invalid, - // so we'll assert that is the case here since mocking out a valid STS Web Identity is out scope for now. - // TODO: Add an integration test for this provider - do { - _ = try STSWebIdentityCredentialsProvider() - XCTFail("The above should throw an error.") - } catch { - - } - } -}