summaryrefslogtreecommitdiffstats
path: root/searchcore/src/tests/proton/documentdb/feedhandler/feedhandler_test.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'searchcore/src/tests/proton/documentdb/feedhandler/feedhandler_test.cpp')
-rw-r--r--searchcore/src/tests/proton/documentdb/feedhandler/feedhandler_test.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/searchcore/src/tests/proton/documentdb/feedhandler/feedhandler_test.cpp b/searchcore/src/tests/proton/documentdb/feedhandler/feedhandler_test.cpp
index f783a415eed..20a6ac40de4 100644
--- a/searchcore/src/tests/proton/documentdb/feedhandler/feedhandler_test.cpp
+++ b/searchcore/src/tests/proton/documentdb/feedhandler/feedhandler_test.cpp
@@ -237,6 +237,9 @@ struct MyFeedView : public test::DummyFeedView {
++update_count;
update_serial = op.getSerialNum();
}
+ void prepareRemove(RemoveOperation &op) override {
+ op.setDbDocumentId(1); // Set a "valid" lid for tombstone
+ }
void handleRemove(FeedToken token, const RemoveOperation &) override {
(void) token;
++remove_count;