Skip to content

Commit

Permalink
squash. remove old macro for truncate api
Browse files Browse the repository at this point in the history
  • Loading branch information
korydraughn committed Apr 10, 2024
1 parent 51a5ab1 commit 67f82a7
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 4 deletions.
2 changes: 0 additions & 2 deletions server/api/src/rs_get_library_features.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 0 additions & 2 deletions unit_tests/src/test_rc_get_library_features.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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<int>());
CHECK(202307 == features.at(IRODS_TO_STRING(IRODS_LIBRARY_FEATURE_API_CHECK_AUTH_CREDENTIALS)).get<int>());

CHECK(202403 == features.at(IRODS_TO_STRING(IRODS_HAS_API_ENDPOINT_REPLICA_TRUNCATE)).get<int>());
CHECK(202403 == features.at(IRODS_TO_STRING(IRODS_LIBRARY_FEATURE_API_REPLICA_TRUNCATE)).get<int>());

CHECK(202404 == features.at(IRODS_TO_STRING(IRODS_LIBRARY_FEATURE_API_GENQUERY2)).get<int>());
// clang-format on
}
Expand Down

0 comments on commit 67f82a7

Please sign in to comment.