From 76b84fef78e7d911493b6c38e108538b7feabe5b Mon Sep 17 00:00:00 2001 From: Gabor Gyimesi Date: Tue, 22 Oct 2024 11:02:14 +0200 Subject: [PATCH] Fix test on Windows --- extensions/couchbase/tests/PutCouchbaseKeyTests.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/extensions/couchbase/tests/PutCouchbaseKeyTests.cpp b/extensions/couchbase/tests/PutCouchbaseKeyTests.cpp index 7adb02394b..1a350fed95 100644 --- a/extensions/couchbase/tests/PutCouchbaseKeyTests.cpp +++ b/extensions/couchbase/tests/PutCouchbaseKeyTests.cpp @@ -82,7 +82,7 @@ class PutCouchbaseKeyTestController : public TestController { auto upsert_parameters = mock_couchbase_cluster_service_->getUpsertParameters(); CHECK(upsert_parameters.document_type == expected_call_options.document_type); - std::string expected_doc_id = expected_call_options.doc_id.empty() ? flow_file->getUUID().to_string() : expected_call_options.doc_id; + std::string expected_doc_id = expected_call_options.doc_id.empty() ? flow_file->getUUIDStr() : expected_call_options.doc_id; CHECK(upsert_parameters.document_id == expected_doc_id); CHECK(upsert_parameters.buffer == stringToByteVector(input));