diff options
Diffstat (limited to 'storage/src/tests/persistence/testandsettest.cpp')
-rw-r--r-- | storage/src/tests/persistence/testandsettest.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/storage/src/tests/persistence/testandsettest.cpp b/storage/src/tests/persistence/testandsettest.cpp index e4c5227f951..3d0dd183232 100644 --- a/storage/src/tests/persistence/testandsettest.cpp +++ b/storage/src/tests/persistence/testandsettest.cpp @@ -251,10 +251,11 @@ TestAndSetTest::createTestDocument() return doc; } -document::Document::SP TestAndSetTest::retrieveTestDocument() +document::Document::SP +TestAndSetTest::retrieveTestDocument() { auto get = std::make_shared<api::GetCommand>(BUCKET, testDocId, document::AllFields::NAME); - auto tracker = thread->handleGet(*get, createTracker(get, BUCKET)); + auto tracker = thread->simpleMessageHandler().handleGet(*get, createTracker(get, BUCKET)); assert(tracker->getResult() == api::ReturnCode::Result::OK); auto & reply = static_cast<api::GetReply &>(tracker->getReply()); |