summaryrefslogtreecommitdiff
path: root/src/mongo/embedded
diff options
context:
space:
mode:
authorJunhson Jean-Baptiste <junhson.jean-baptiste@mongodb.com>2020-07-15 20:23:15 +0000
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2020-08-04 21:51:57 +0000
commitf1194464424569250152308e3cae1ecbade7fb71 (patch)
treec8dbd00b63823ed35d11a163d5f852458fe47f2d /src/mongo/embedded
parentee837757591fb1f5f4eecd324fd2a8fa56d3a8e4 (diff)
downloadmongo-f1194464424569250152308e3cae1ecbade7fb71.tar.gz
SERVER-49117 Remove storage validation of '$' and '.' in field names for insert and update
Diffstat (limited to 'src/mongo/embedded')
-rw-r--r--src/mongo/embedded/stitch_support/stitch_support_test.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/mongo/embedded/stitch_support/stitch_support_test.cpp b/src/mongo/embedded/stitch_support/stitch_support_test.cpp
index d8984f43367..7c6dc94cb62 100644
--- a/src/mongo/embedded/stitch_support/stitch_support_test.cpp
+++ b/src/mongo/embedded/stitch_support/stitch_support_test.cpp
@@ -575,10 +575,6 @@ TEST_F(StitchSupportTest, TestUpdateWithSetOnInsert) {
}
TEST_F(StitchSupportTest, TestUpdateProducesProperStatus) {
- ASSERT_EQ(
- "Unknown modifier: $bogus. Expected a valid update modifier or pipeline-style update "
- "specified as an array",
- checkUpdateStatus("{$bogus: {a: 2}}", "{a: 1}"));
ASSERT_EQ("Updating the path 'a' would create a conflict at 'a'",
checkUpdateStatus("{$set: {a: 2, a: 3}}", "{a: 1}"));
ASSERT_EQ("No array filter found for identifier 'i' in path 'a.$[i]'",