summaryrefslogtreecommitdiff
path: root/src/mongo/db/s/migration_chunk_cloner_source_legacy_test.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/db/s/migration_chunk_cloner_source_legacy_test.cpp')
-rw-r--r--src/mongo/db/s/migration_chunk_cloner_source_legacy_test.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/mongo/db/s/migration_chunk_cloner_source_legacy_test.cpp b/src/mongo/db/s/migration_chunk_cloner_source_legacy_test.cpp
index e09ba6b8fd7..6ffb1547204 100644
--- a/src/mongo/db/s/migration_chunk_cloner_source_legacy_test.cpp
+++ b/src/mongo/db/s/migration_chunk_cloner_source_legacy_test.cpp
@@ -152,8 +152,8 @@ protected:
{
OperationShardingState::ScopedAllowImplicitCollectionCreate_UNSAFE
unsafeCreateCollection(operationContext());
- uassertStatusOK(createCollection(
- operationContext(), kNss.db().toString(), BSON("create" << kNss.coll())));
+ uassertStatusOK(
+ createCollection(operationContext(), kNss.dbName(), BSON("create" << kNss.coll())));
}
const auto uuid = [&] {
@@ -631,8 +631,8 @@ TEST_F(MigrationChunkClonerSourceLegacyTest, ShardKeyIndexNotFound) {
{
OperationShardingState::ScopedAllowImplicitCollectionCreate_UNSAFE unsafeCreateCollection(
operationContext());
- uassertStatusOK(createCollection(
- operationContext(), kNss.db().toString(), BSON("create" << kNss.coll())));
+ uassertStatusOK(
+ createCollection(operationContext(), kNss.dbName(), BSON("create" << kNss.coll())));
}
const ShardsvrMoveRange req =