[improve] fix e2e test failure caused by api-testing reverse test behavior (#4091)

Signed-off-by: P_Peaceful <wenzhengcheng0223@163.com>
This commit is contained in:
P_Peaceful
2026-03-25 23:24:07 +08:00
committed by GitHub
parent cdb913c472
commit cdb6411b83
2 changed files with 1 additions and 11 deletions
+1 -1
View File
@@ -18,7 +18,7 @@
version: '3.8'
services:
testing:
image: ghcr.io/linuxsuren/api-testing:v0.0.17
image: ghcr.io/linuxsuren/api-testing:v0.0.19
environment:
SERVER: http://hertzbeat:1157
container_name: e2e-testing
-10
View File
@@ -74,9 +74,6 @@ items:
Accept: application/json
expect:
statusCode: 401
bodyFieldsExpect:
code: 401
msg: Missing Authorization in header
- name: createSitemapMonitor
request:
api: /api/monitor
@@ -437,13 +434,6 @@ items:
expect:
bodyFieldsExpect:
code: "0"
- name: useRevokedTokenToCallApi
request:
api: /api/monitors?pageIndex=0&pageSize=8
header:
Authorization: Bearer {{.generateApiToken.data.token}}
expect:
statusCode: 401
## Config
- name: getConfigEmail