Skip to content

Commit 6831970

Browse files
Update test to match new server selection behavior
Test 30 now expects an error when multiple servers exist, even with "default-server" present, aligning with the simplified logic that only auto-selects when there's exactly one server.
1 parent 1263ffd commit 6831970

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

cli/scripts/cli-tests.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -862,9 +862,9 @@ async function runTests() {
862862
"tools/list",
863863
);
864864

865-
// Test 30: Config with default-server auto-selection
866-
await runBasicTest(
867-
"default_server_auto_select",
865+
// Test 30: Config with default-server should now require explicit selection (multiple servers)
866+
await runErrorTest(
867+
"default_server_requires_explicit_selection",
868868
"--config",
869869
defaultServerConfigPath,
870870
"--cli",

0 commit comments

Comments
 (0)