diff --git a/integration/findandmodify_compat_test.go b/integration/findandmodify_compat_test.go index 27b79ce7459a..9bd6035b5579 100644 --- a/integration/findandmodify_compat_test.go +++ b/integration/findandmodify_compat_test.go @@ -117,23 +117,6 @@ func TestFindAndModifyCompatErrors(t *testing.T) { }, resultType: emptyResult, }, - "DollarPrefixedFieldName": { - command: bson.D{ - {"query", bson.D{{"_id", bson.D{{"key", bson.D{{"$eq", "val"}}}}}}}, - {"upsert", true}, - {"update", bson.D{{"v", "replaced"}}}, - }, - resultType: emptyResult, - }, - "DollarPrefixedNestedFieldName": { - command: bson.D{ - {"query", bson.D{{"_id", bson.D{{"key", bson.D{{"nestedKey", bson.D{{"$eq", "val"}}}}}}}}}, - {"upsert", true}, - {"update", bson.D{{"v", "replaced"}}}, - }, - skipForTigris: "schema validation would fail", - resultType: emptyResult, - }, } testFindAndModifyCompat(t, testCases)