Skip to content

Commit

Permalink
test fix link
Browse files Browse the repository at this point in the history
  • Loading branch information
rrd108 committed Sep 28, 2024
1 parent 18786a2 commit d0e16a3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/rules/security/apiWithoutMethod.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ describe('checkApiWithoutMethod', () => {
expect(result).toStrictEqual([{
file: '/src/server/api/users.ts',
rule: `<text_info>rrd ~ API endpoint without HTTP method</text_info>`,
description: `👉 <text_warn>Specify the HTTP method in the filename (e.g., users.post.ts) or include a method check in the file content.</text_warn> See: https://vue-mess-detector.webmania.cc/rules/rrd/api-without-method.html`,
description: `👉 <text_warn>Specify the HTTP method in the filename (e.g., users.post.ts) or include a method check in the file content.</text_warn> See: https://vue-mess-detector.webmania.cc/rules/security/api-without-method.html`,
message: `API route <bg_warn>without HTTP method</bg_warn> specified in filename or content 🚨`,
}])
})
Expand Down

0 comments on commit d0e16a3

Please sign in to comment.