summaryrefslogtreecommitdiffstats
path: root/searchcore/src/tests/proton/attribute/attribute_test.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'searchcore/src/tests/proton/attribute/attribute_test.cpp')
-rw-r--r--searchcore/src/tests/proton/attribute/attribute_test.cpp9
1 files changed, 2 insertions, 7 deletions
diff --git a/searchcore/src/tests/proton/attribute/attribute_test.cpp b/searchcore/src/tests/proton/attribute/attribute_test.cpp
index 4458cd66ad6..bc398866252 100644
--- a/searchcore/src/tests/proton/attribute/attribute_test.cpp
+++ b/searchcore/src/tests/proton/attribute/attribute_test.cpp
@@ -984,13 +984,8 @@ TEST_F(TwoPhasePutTest, handles_assign_update_as_two_phase_put_when_specified_fo
ImportedAttributeVector::SP
createImportedAttribute(const vespalib::string &name)
{
- auto result = ImportedAttributeVectorFactory::create(name,
- std::shared_ptr<ReferenceAttribute>(),
- std::shared_ptr<search::IDocumentMetaStoreContext>(),
- AttributeVector::SP(),
- std::shared_ptr<const search::IDocumentMetaStoreContext>(),
- true);
- result->getSearchCache()->insert("foo", BitVectorSearchCache::Entry::SP());
+ auto result = ImportedAttributeVectorFactory::create(name, {}, {}, {}, {}, true);
+ result->getSearchCache()->insert("foo", {});
return result;
}