Moved test jstest/[a-i].js -> jstests/core/ and made changes to comply with write command api
6 lines
306 B
JavaScript
6 lines
306 B
JavaScript
// Test that the textSearchEnabled server parameter works correctly (now deprecated).
|
|
|
|
// Value true is accepted, value false is rejected.
|
|
assert.commandWorked(db.adminCommand({setParameter: 1, textSearchEnabled: true}));
|
|
assert.commandFailed(db.adminCommand({setParameter: 1, textSearchEnabled: false}));
|