aboutsummaryrefslogtreecommitdiffstats
path: root/storage/src/tests/persistence/common/filestortestfixture.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'storage/src/tests/persistence/common/filestortestfixture.cpp')
-rw-r--r--storage/src/tests/persistence/common/filestortestfixture.cpp7
1 files changed, 2 insertions, 5 deletions
diff --git a/storage/src/tests/persistence/common/filestortestfixture.cpp b/storage/src/tests/persistence/common/filestortestfixture.cpp
index 24504a2006b..0b1eec30b2e 100644
--- a/storage/src/tests/persistence/common/filestortestfixture.cpp
+++ b/storage/src/tests/persistence/common/filestortestfixture.cpp
@@ -51,12 +51,9 @@ FileStorTestFixture::TearDown()
void
FileStorTestFixture::createBucket(const document::BucketId& bid)
{
- spi::Context context(spi::Priority(0), spi::Trace::TraceLevel(0));
- _node->getPersistenceProvider().createBucket(makeSpiBucket(bid), context);
-
+ _node->getPersistenceProvider().createBucket(makeSpiBucket(bid));
StorBucketDatabase::WrappedEntry entry(
- _node->getStorageBucketDatabase().get(bid, "foo",
- StorBucketDatabase::CREATE_IF_NONEXISTING));
+ _node->getStorageBucketDatabase().get(bid, "foo", StorBucketDatabase::CREATE_IF_NONEXISTING));
entry->info = api::BucketInfo(0, 0, 0, 0, 0, true, false);
entry.write();
}