Skip to content

Commit 677a22c

Browse files
authored
chore(shell-api): adjust expected version for $setField to be in versioned API (#1140)
Our tests have started picking up the 5.2.0-alpha versions and `$setField` is not part of the versioned API in them.
1 parent 363a7d9 commit 677a22c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/shell-api/src/integration.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -989,7 +989,7 @@ describe('Shell API (integration)', function() {
989989
skipIfServerVersion(testServer, '<= 4.4');
990990
if (process.env.MONGOSH_TEST_FORCE_API_STRICT) {
991991
// https://jira.mongodb.org/browse/SERVER-58076
992-
skipIfServerVersion(testServer, '<= 5.1');
992+
skipIfServerVersion(testServer, '<= 5.2');
993993
}
994994
it('can insert, modify and retrieve fields with $-prefixed .-containing names', async() => {
995995
await collection.insertOne({ '$x.y': 1, _id: '_id' });

0 commit comments

Comments
 (0)