summaryrefslogtreecommitdiffstats
path: root/searchcore/src/tests/proton/documentdb/feedhandler/feedhandler_test.cpp
diff options
context:
space:
mode:
authorHenning Baldersheim <balder@yahoo-inc.com>2022-03-29 09:32:13 +0000
committerHenning Baldersheim <balder@yahoo-inc.com>2022-03-29 09:42:53 +0000
commitda37d75e5dad5d7f819329bac3fa17f9bbe370f8 (patch)
tree7daf06a5c021e507b4c83dbdf90dd0144ce304b9 /searchcore/src/tests/proton/documentdb/feedhandler/feedhandler_test.cpp
parent407db61990785f6812a0db28cdbfeb4dc8bc1308 (diff)
CloneablePtr -> std::unique_ptr
Diffstat (limited to 'searchcore/src/tests/proton/documentdb/feedhandler/feedhandler_test.cpp')
-rw-r--r--searchcore/src/tests/proton/documentdb/feedhandler/feedhandler_test.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/searchcore/src/tests/proton/documentdb/feedhandler/feedhandler_test.cpp b/searchcore/src/tests/proton/documentdb/feedhandler/feedhandler_test.cpp
index 6cd92dea516..79aa681ab52 100644
--- a/searchcore/src/tests/proton/documentdb/feedhandler/feedhandler_test.cpp
+++ b/searchcore/src/tests/proton/documentdb/feedhandler/feedhandler_test.cpp
@@ -763,7 +763,7 @@ using namespace document;
TEST_F("require that update with a fieldpath update will be rejected", SchemaContext) {
const DocumentType *docType = f.getRepo()->getDocumentType(f.getDocType().getName());
auto docUpdate = std::make_unique<DocumentUpdate>(*f.getRepo(), *docType, DocumentId("id:ns:" + docType->getName() + "::1"));
- docUpdate->addFieldPathUpdate(FieldPathUpdate::CP(std::make_unique<RemoveFieldPathUpdate>()));
+ docUpdate->addFieldPathUpdate(std::make_unique<RemoveFieldPathUpdate>());
EXPECT_TRUE(FeedRejectHelper::mustReject(*docUpdate));
}