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:
Felix Weinberger 2025-08-07 21:02:29 +01:00
commit 68319704f0
No known key found for this signature in database

View file

@ -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",