From df82a0091ffd984c578dadcd7fb0f582a1e14d71 Mon Sep 17 00:00:00 2001 From: Parker Brown <17183625+parkerbxyz@users.noreply.github.com> Date: Wed, 14 Oct 2026 10:53:03 -0700 Subject: [PATCH] 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 --- tests/index.js.snapshot | 2 +- tests/post-revoke-token-fail-response.test.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/index.js.snapshot b/tests/index.js.snapshot index 1cb67cf..a436bc0 100644 --- a/tests/index.js.snapshot +++ b/tests/index.js.snapshot @@ -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`] = ` diff --git a/tests/post-revoke-token-fail-response.test.js b/tests/post-revoke-token-fail-response.test.js index c52e7cd..24bb241 100644 --- a/tests/post-revoke-token-fail-response.test.js +++ b/tests/post-revoke-token-fail-response.test.js @@ -28,6 +28,6 @@ mockPool authorization: "token secret123", }, }) - .reply(500, "Internal Server Error"); + .reply(401, "Bad credentials"); await import("../post.js");