From d0e16a321a6cc339481a4be3d1e3cf43f9ecc35d Mon Sep 17 00:00:00 2001 From: rrd108 Date: Sat, 28 Sep 2024 09:38:48 +0200 Subject: [PATCH] test fix link --- src/rules/security/apiWithoutMethod.test.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/rules/security/apiWithoutMethod.test.ts b/src/rules/security/apiWithoutMethod.test.ts index 0ea2474..ae038bc 100644 --- a/src/rules/security/apiWithoutMethod.test.ts +++ b/src/rules/security/apiWithoutMethod.test.ts @@ -50,7 +50,7 @@ describe('checkApiWithoutMethod', () => { expect(result).toStrictEqual([{ file: '/src/server/api/users.ts', rule: `rrd ~ API endpoint without HTTP method`, - description: `👉 Specify the HTTP method in the filename (e.g., users.post.ts) or include a method check in the file content. See: https://vue-mess-detector.webmania.cc/rules/rrd/api-without-method.html`, + description: `👉 Specify the HTTP method in the filename (e.g., users.post.ts) or include a method check in the file content. See: https://vue-mess-detector.webmania.cc/rules/security/api-without-method.html`, message: `API route without HTTP method specified in filename or content 🚨`, }]) })