summaryrefslogtreecommitdiffstats
path: root/searchcore/src/tests/proton/documentdb/feedhandler
diff options
context:
space:
mode:
authorGeir Storli <geirst@verizonmedia.com>2020-06-15 12:34:58 +0000
committerGeir Storli <geirst@verizonmedia.com>2020-06-15 12:34:58 +0000
commitb17ee23a6fd3c81ffc5ca8505b74ac922a6f6165 (patch)
tree94beed5a591d67901373c0e704634eb64cb568cb /searchcore/src/tests/proton/documentdb/feedhandler
parentf0ce676f7de72f90cd5919c33d2fa3fb6ec76c4f (diff)
Remove default tensor spec in doctype builder.
Diffstat (limited to 'searchcore/src/tests/proton/documentdb/feedhandler')
-rw-r--r--searchcore/src/tests/proton/documentdb/feedhandler/feedhandler_test.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/searchcore/src/tests/proton/documentdb/feedhandler/feedhandler_test.cpp b/searchcore/src/tests/proton/documentdb/feedhandler/feedhandler_test.cpp
index 18235116d27..d1d08a332e3 100644
--- a/searchcore/src/tests/proton/documentdb/feedhandler/feedhandler_test.cpp
+++ b/searchcore/src/tests/proton/documentdb/feedhandler/feedhandler_test.cpp
@@ -285,8 +285,8 @@ SchemaContext::SchemaContext()
: schema(new Schema()),
builder()
{
- schema->addAttributeField(Schema::AttributeField("tensor", DataType::TENSOR, CollectionType::SINGLE));
- schema->addAttributeField(Schema::AttributeField("tensor2", DataType::TENSOR, CollectionType::SINGLE));
+ schema->addAttributeField(Schema::AttributeField("tensor", DataType::TENSOR, CollectionType::SINGLE, "tensor(x{},y{})"));
+ schema->addAttributeField(Schema::AttributeField("tensor2", DataType::TENSOR, CollectionType::SINGLE, "tensor(x{},y{})"));
addField("i1");
}