Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: typo in api/tests/CMakeLists.txt #160

Merged
merged 1 commit into from
Jan 15, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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