summaryrefslogtreecommitdiff
path: root/src/mongo/s/commands/document_shard_key_update_test.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/s/commands/document_shard_key_update_test.cpp')
-rw-r--r--src/mongo/s/commands/document_shard_key_update_test.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mongo/s/commands/document_shard_key_update_test.cpp b/src/mongo/s/commands/document_shard_key_update_test.cpp
index 4c297ce7bc8..dcaf62de0db 100644
--- a/src/mongo/s/commands/document_shard_key_update_test.cpp
+++ b/src/mongo/s/commands/document_shard_key_update_test.cpp
@@ -53,7 +53,7 @@ TEST_F(DocumentShardKeyUpdateTest, constructShardKeyDeleteCmdObj) {
NamespaceString nss("test.foo");
BSONObj updatePreImage = BSON("x" << 4 << "y" << 3 << "_id" << 20);
- auto deleteCmdObj = constructShardKeyDeleteCmdObj(nss, updatePreImage, boost::none);
+ auto deleteCmdObj = constructShardKeyDeleteCmdObj(nss, updatePreImage);
auto deletesObj = deleteCmdObj["deletes"].Array();
ASSERT_EQ(deletesObj.size(), 1U);
@@ -69,7 +69,7 @@ TEST_F(DocumentShardKeyUpdateTest, constructShardKeyInsertCmdObj) {
NamespaceString nss("test.foo");
BSONObj updatePostImage = BSON("x" << 4 << "y" << 3 << "_id" << 20);
- auto insertCmdObj = constructShardKeyInsertCmdObj(nss, updatePostImage, boost::none);
+ auto insertCmdObj = constructShardKeyInsertCmdObj(nss, updatePostImage);
auto insertsObj = insertCmdObj["documents"].Array();
ASSERT_EQ(insertsObj.size(), 1U);