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.
This commit is contained in:
parent
1263ffdf58
commit
68319704f0
1 changed files with 3 additions and 3 deletions
|
|
@ -862,9 +862,9 @@ async function runTests() {
|
||||||
"tools/list",
|
"tools/list",
|
||||||
);
|
);
|
||||||
|
|
||||||
// Test 30: Config with default-server auto-selection
|
// Test 30: Config with default-server should now require explicit selection (multiple servers)
|
||||||
await runBasicTest(
|
await runErrorTest(
|
||||||
"default_server_auto_select",
|
"default_server_requires_explicit_selection",
|
||||||
"--config",
|
"--config",
|
||||||
defaultServerConfigPath,
|
defaultServerConfigPath,
|
||||||
"--cli",
|
"--cli",
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue