From 18f0c41938be2e1dd6094d61ef3b4ba9a04b667f Mon Sep 17 00:00:00 2001 From: "Markus Kitsinger (SwooshyCueb)" Date: Thu, 17 Nov 2022 16:48:28 -0500 Subject: [PATCH] [#73,#95] Fix unit test compilation --- unit_tests/b64enc/b64enc.cpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/unit_tests/b64enc/b64enc.cpp b/unit_tests/b64enc/b64enc.cpp index 0a5a51f94..c967fcc06 100644 --- a/unit_tests/b64enc/b64enc.cpp +++ b/unit_tests/b64enc/b64enc.cpp @@ -18,9 +18,9 @@ TEST_CASE("as-needed base64 encoding") { auto check_valid_str = [&]() { // insert value - const std::uint64_t time_ms = - irods::audit::ts_clock::now().time_since_epoch() / std::chrono::milliseconds(1); - irods::audit::insert_as_string_or_base64(json_obj, key, val, time_ms); + const std::uint64_t time_ms = irods::plugin::rule_engine::audit_amqp::ts_clock::now().time_since_epoch() / + std::chrono::milliseconds(1); + irods::plugin::rule_engine::audit_amqp::insert_as_string_or_base64(json_obj, key, val, time_ms); // verify b64 key does not exist const auto b64val_container = json_obj.find(key + "_b64"); @@ -82,9 +82,9 @@ TEST_CASE("as-needed base64 encoding") auto check_invalid_str = [&]() { // insert value - const std::uint64_t time_ms = - irods::audit::ts_clock::now().time_since_epoch() / std::chrono::milliseconds(1); - irods::audit::insert_as_string_or_base64(json_obj, key, val, time_ms); + const std::uint64_t time_ms = irods::plugin::rule_engine::audit_amqp::ts_clock::now().time_since_epoch() / + std::chrono::milliseconds(1); + irods::plugin::rule_engine::audit_amqp::insert_as_string_or_base64(json_obj, key, val, time_ms); // verify non-b64 key does not exist const auto val_container = json_obj.find(key);