From 67f82a7cab8649a193db545563883f8af58ed2a5 Mon Sep 17 00:00:00 2001 From: Kory Draughn Date: Wed, 10 Apr 2024 13:44:28 -0400 Subject: [PATCH] squash. remove old macro for truncate api --- server/api/src/rs_get_library_features.cpp | 2 -- unit_tests/src/test_rc_get_library_features.cpp | 2 -- 2 files changed, 4 deletions(-) diff --git a/server/api/src/rs_get_library_features.cpp b/server/api/src/rs_get_library_features.cpp index 2081ea2c3e..4a874460cf 100644 --- a/server/api/src/rs_get_library_features.cpp +++ b/server/api/src/rs_get_library_features.cpp @@ -39,9 +39,7 @@ auto rs_get_library_features(RsComm* _comm, char** _features) -> int IRODS_FEATURE(IRODS_HAS_API_ENDPOINT_CHECK_AUTH_CREDENTIALS) IRODS_FEATURE(IRODS_LIBRARY_FEATURE_API_CHECK_AUTH_CREDENTIALS) - IRODS_FEATURE(IRODS_HAS_API_ENDPOINT_REPLICA_TRUNCATE) IRODS_FEATURE(IRODS_LIBRARY_FEATURE_API_REPLICA_TRUNCATE) - IRODS_FEATURE(IRODS_LIBRARY_FEATURE_API_GENQUERY2) }.dump().c_str()); // clang-format on diff --git a/unit_tests/src/test_rc_get_library_features.cpp b/unit_tests/src/test_rc_get_library_features.cpp index 846c44d27a..45b3ca45f4 100644 --- a/unit_tests/src/test_rc_get_library_features.cpp +++ b/unit_tests/src/test_rc_get_library_features.cpp @@ -45,9 +45,7 @@ TEST_CASE("rc_get_library_features") CHECK(202307 == features.at(IRODS_TO_STRING(IRODS_HAS_API_ENDPOINT_CHECK_AUTH_CREDENTIALS)).get()); CHECK(202307 == features.at(IRODS_TO_STRING(IRODS_LIBRARY_FEATURE_API_CHECK_AUTH_CREDENTIALS)).get()); - CHECK(202403 == features.at(IRODS_TO_STRING(IRODS_HAS_API_ENDPOINT_REPLICA_TRUNCATE)).get()); CHECK(202403 == features.at(IRODS_TO_STRING(IRODS_LIBRARY_FEATURE_API_REPLICA_TRUNCATE)).get()); - CHECK(202404 == features.at(IRODS_TO_STRING(IRODS_LIBRARY_FEATURE_API_GENQUERY2)).get()); // clang-format on }