Skip to content

Commit bb241c9

Browse files
committed
changed from callback
1 parent 33bcb18 commit bb241c9

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

tests/aws-cpp-sdk-core-tests/aws/auth/CredentialTrackingTest.cpp

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,18 +22,17 @@ using namespace Aws::Http;
2222

2323
static const char ALLOCATION_TAG[] = "CredentialTrackingTest";
2424

25-
// Custom client that uses default credential provider chain for testing
25+
// Custom client that uses environment credential provider for testing
2626
class CredentialTestingClient : public Aws::Client::AWSClient
2727
{
2828
public:
2929
explicit CredentialTestingClient(const Aws::Client::ClientConfiguration& configuration)
3030
: AWSClient(configuration,
3131
Aws::MakeShared<Aws::Client::AWSAuthV4Signer>(ALLOCATION_TAG,
32-
Aws::MakeShared<DefaultAWSCredentialsProviderChain>(ALLOCATION_TAG),
32+
Aws::MakeShared<EnvironmentAWSCredentialsProvider>(ALLOCATION_TAG),
3333
"service", configuration.region),
3434
Aws::MakeShared<MockAWSErrorMarshaller>(ALLOCATION_TAG))
3535
{
36-
// Client created with DefaultAWSCredentialsProviderChain
3736
}
3837

3938
Aws::Client::HttpResponseOutcome MakeRequest(const Aws::AmazonWebServiceRequest& request)

0 commit comments

Comments
 (0)