diff --git a/backend/src/main/java/io/metersphere/api/service/ApiTestService.java b/backend/src/main/java/io/metersphere/api/service/ApiTestService.java index 546d5343a7..c99b6c6a79 100644 --- a/backend/src/main/java/io/metersphere/api/service/ApiTestService.java +++ b/backend/src/main/java/io/metersphere/api/service/ApiTestService.java @@ -75,6 +75,7 @@ public class ApiTestService { } public void delete(DeleteAPITestRequest request) { + deleteFileByTestId(request.getId()); apiTestMapper.deleteByPrimaryKey(request.getId()); } diff --git a/frontend/src/business/components/api/test/ApiTestConfig.vue b/frontend/src/business/components/api/test/ApiTestConfig.vue index 76f3b9cb07..bb9a1f2da5 100644 --- a/frontend/src/business/components/api/test/ApiTestConfig.vue +++ b/frontend/src/business/components/api/test/ApiTestConfig.vue @@ -32,8 +32,6 @@