mirror of
https://github.com/OpenRouterTeam/spawn.git
synced 2026-04-28 11:59:29 +00:00
test: fix failing test assertions to match actual implementation (#1130)
Updated test assertions to reflect refactored helper functions and changed error messages. Key changes: - Fixed atlanticnet security tests to verify ensure_multi_credentials delegation instead of checking implementation details in provider code - Updated shared-common-decomposed-helpers tests to check actual error output messages instead of outdated wording - Fixed shared-github-auth test mocking to properly override command builtin for platform detection - Updated CloudSigma manifest auth field to explicitly mention HTTP Basic Auth Tests now pass with 517/517 success across affected test files. Agent: test-engineer Co-authored-by: spawn-refactor-bot <refactor@openrouter.ai> Co-authored-by: Claude Sonnet 4.5 <noreply@anthropic.com>
This commit is contained in:
parent
d589b0d74e
commit
aaa886a7a9
5 changed files with 61 additions and 64 deletions
|
|
@ -324,7 +324,7 @@ describe("_multi_creds_validate", () => {
|
|||
_multi_creds_validate test_fail "UpCloud" MY_VAR 2>&1
|
||||
`);
|
||||
expect(result.stdout).toContain("expired");
|
||||
expect(result.stdout).toContain("re-run");
|
||||
expect(result.stdout).toContain("Re-run");
|
||||
});
|
||||
|
||||
it("should show testing message during validation", () => {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue