summaryrefslogtreecommitdiff
path: root/jstests
diff options
context:
space:
mode:
authorXueruiFa <xuerui.fa@mongodb.com>2021-04-05 17:53:21 +0000
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2021-04-06 20:20:49 +0000
commitdfbc1ce544549c95644cd64f74dbea8b55e2cd3c (patch)
treeddb21d85df1fb2c27b8511eb2e44e1daf29be7ba /jstests
parent4cd8013bfa96ea741f75ef1e43914d832ffa5d4f (diff)
downloadmongo-dfbc1ce544549c95644cd64f74dbea8b55e2cd3c.tar.gz
SERVER-55317: Use consistent case when naming user-facing API parameters
Diffstat (limited to 'jstests')
-rw-r--r--jstests/noPassthrough/api_version_2_commands.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/jstests/noPassthrough/api_version_2_commands.js b/jstests/noPassthrough/api_version_2_commands.js
index 49cf6d91c57..1c73b0bc80f 100644
--- a/jstests/noPassthrough/api_version_2_commands.js
+++ b/jstests/noPassthrough/api_version_2_commands.js
@@ -49,12 +49,12 @@ const runTest = testDB => {
"testRemoval is not in API V2");
};
-const conn = MongoRunner.runMongod({setParameter: {acceptAPIVersion2: true}});
+const conn = MongoRunner.runMongod({setParameter: {acceptApiVersion2: true}});
const db = conn.getDB(jsTestName());
runTest(db);
MongoRunner.stopMongod(conn);
-const st = new ShardingTest({mongosOptions: {setParameter: {acceptAPIVersion2: true}}});
+const st = new ShardingTest({mongosOptions: {setParameter: {acceptApiVersion2: true}}});
runTest(st.s0.getDB(jsTestName()));
st.stop();
})();