test(cli): align disabled-provider expectation with daemon message
Daemon emits 'Provider <id> is disabled' for disabled providers (see session.ts emitProviderDisabledResponse). The test was asserting the older 'is not available' phrasing, which never matched the actual output.
This commit is contained in:
@@ -235,7 +235,7 @@ try {
|
||||
);
|
||||
const output = modelsResult.stdout + modelsResult.stderr;
|
||||
assert(
|
||||
output.includes("Provider claude is not available"),
|
||||
output.includes("Provider claude is disabled"),
|
||||
"provider models should surface the daemon disabled error",
|
||||
);
|
||||
assert(
|
||||
|
||||
Reference in New Issue
Block a user