Skip to content

Commit

Permalink
Merge pull request #160 from aws/fix/api_integration_test_typo
Browse files Browse the repository at this point in the history
fix: typo in api/tests/CMakeLists.txt
  • Loading branch information
as14692 authored Jan 15, 2025
2 parents 20dcf81 + 7a5365f commit 94c6292
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions api/tests/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ add_executable(gmsa_test_client "gmsa_test_client.cpp")
target_link_libraries(gmsa_test_client
cf_gmsa_service_private ${_PROTOBUF_LIBPROTOBUF})

add_executable(gmsa_integration_test "gmsa_integration_test.cpp")
target_link_libraries(gmsa_integration_test
add_executable(gmsa_api_integration_test "gmsa_api_integration_test.cpp")
target_link_libraries(gmsa_api_integration_test
cf_gmsa_service_private
${_PROTOBUF_LIBPROTOBUF}
jsoncpp
Expand All @@ -34,6 +34,6 @@ check_pie_supported()
if (CMAKE_C_LINK_PIE_SUPPORTED)
set_property(TARGET gmsa_test_client
PROPERTY POSITION_INDEPENDENT_CODE TRUE)
set_property(TARGET gmsa_integration_test
set_property(TARGET gmsa_api_integration_test
PROPERTY POSITION_INDEPENDENT_CODE TRUE)
endif ()
2 changes: 1 addition & 1 deletion api/tests/gmsa_api_integration_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ TEST_F( GmsaIntegrationTest, A_AddKerberosArnLeaseMethod_Test )
// Prepare request
credentialsfetcher::KerberosArnLeaseRequest request;

std::string arn = get_environment_var( "CREDSPEC_ARN" );
std::string arn = get_environment_var( CF_TEST_CREDSPEC_ARN );
arn += "#123/WebApp01";
request.add_credspec_arns( arn );
request.set_access_key_id( get_environment_var( AWS_ACCESS_KEY_ID ) );
Expand Down

0 comments on commit 94c6292

Please sign in to comment.