Skip to content

Commit 296c744

Browse files
committed
fix: update test description for unauthorized token handling in discord service
1 parent 1565f72 commit 296c744

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/unit/middlewares/authorizeBot.test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -206,7 +206,7 @@ describe("Middleware | Authorize Bot", function () {
206206
expect(nextSpy.calledOnce).to.be.equal(true);
207207
});
208208

209-
it("should return unauthorized when token is valid but not for discord service", function () {
209+
it("should return unauthorized when token is invalid for discord service", function () {
210210
const jwtToken = bot.generateDiscordServiceToken({ name: "Invalid" });
211211
const request = {
212212
headers: {

0 commit comments

Comments
 (0)