mirror of
https://github.com/actions/create-github-app-token.git
synced 2026-12-01 14:55:26 +00:00
test: keep 401 case with Bad credentials body
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Copilot-Session: 61859778-5e53-432d-864c-8eddd0375f86
This commit is contained in:
1 parent
a787c84cd8
commit
df82a0091f
2 files changed
+2
-2
No files matched your search
@@ -514,7 +514,7 @@ exports[`post-proxy-requires-native-support.test.js > stdout 1`] = `
|
||||
`;
|
||||
|
||||
exports[`post-revoke-token-fail-response.test.js > stdout 1`] = `
|
||||
::warning::Token revocation failed: Internal Server Error
|
||||
::warning::Token revocation failed: Bad credentials
|
||||
`;
|
||||
|
||||
exports[`post-token-expired.test.js > stdout 1`] = `
|
||||
|
||||
@@ -28,6 +28,6 @@ mockPool
|
||||
authorization: "token secret123",
|
||||
},
|
||||
})
|
||||
.reply(500, "Internal Server Error");
|
||||
.reply(401, "Bad credentials");
|
||||
|
||||
await import("../post.js");
|
||||
Reference in new issue
Block a user