summaryrefslogtreecommitdiffstats
path: root/storage/src/tests/bucketdb/bucketmanagertest.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'storage/src/tests/bucketdb/bucketmanagertest.cpp')
-rw-r--r--storage/src/tests/bucketdb/bucketmanagertest.cpp6
1 files changed, 2 insertions, 4 deletions
diff --git a/storage/src/tests/bucketdb/bucketmanagertest.cpp b/storage/src/tests/bucketdb/bucketmanagertest.cpp
index 11f5ec70014..ad46d494d11 100644
--- a/storage/src/tests/bucketdb/bucketmanagertest.cpp
+++ b/storage/src/tests/bucketdb/bucketmanagertest.cpp
@@ -171,10 +171,8 @@ void BucketManagerTest::setupTestEnvironment(bool fakePersistenceLayer,
_top->push_back(std::move(bottom));
}
// Generate a doc to use for testing..
- const DocumentType &type(*_node->getTypeRepo()
- ->getDocumentType("text/html"));
- _document = std::make_shared<document::Document>(
- type, document::DocumentId(document::DocIdString("test", "ntnu")));
+ const DocumentType &type(*_node->getTypeRepo()->getDocumentType("text/html"));
+ _document = std::make_shared<document::Document>(type, document::DocumentId("id:ns:text/html::ntnu"));
}
void BucketManagerTest::addBucketsToDB(uint32_t count)