From a29e029b690eeb761419bd1c9562579eec4eb29b Mon Sep 17 00:00:00 2001 From: Andreas Pfeil Date: Fri, 24 Jan 2025 14:28:04 +0100 Subject: [PATCH] cleanup: fix linter warnings --- .../kit/datamanager/pit/web/ITypingRestResourceTest.java | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/test/java/edu/kit/datamanager/pit/web/ITypingRestResourceTest.java b/src/test/java/edu/kit/datamanager/pit/web/ITypingRestResourceTest.java index 4a61c79f..00ea561d 100644 --- a/src/test/java/edu/kit/datamanager/pit/web/ITypingRestResourceTest.java +++ b/src/test/java/edu/kit/datamanager/pit/web/ITypingRestResourceTest.java @@ -37,7 +37,7 @@ class ITypingRestResourceTest { private MockMvc mockMvc; @BeforeEach - void setup() throws Exception { + void setup() { this.mockMvc = MockMvcBuilders .webAppContextSetup(this.webApplicationContext) .build(); @@ -48,11 +48,9 @@ void setup() throws Exception { /** * Tests if the swagger ui and openapi definition is accessible. - * + *

* Note that this test is using mockMVC; it does probably not detect issues with * CSRF, but will recognize other kinds of internal issues. - * - * @throws Exception */ @Test void getOpenApiDefinition() throws Exception {