diff --git a/src/test/java/io/securecodebox/persistence/defectdojo/service/EndpointServiceTest.java b/src/test/java/io/securecodebox/persistence/defectdojo/service/EndpointServiceTest.java index 42f2951..28f9753 100644 --- a/src/test/java/io/securecodebox/persistence/defectdojo/service/EndpointServiceTest.java +++ b/src/test/java/io/securecodebox/persistence/defectdojo/service/EndpointServiceTest.java @@ -3,7 +3,6 @@ // SPDX-License-Identifier: Apache-2.0 package io.securecodebox.persistence.defectdojo.service; -import com.fasterxml.jackson.core.JsonProcessingException; import io.securecodebox.persistence.defectdojo.model.Endpoint; import org.junit.jupiter.api.Test; @@ -147,7 +146,7 @@ void get_byId() { @Test - void searchUnique_withSearchObjectWhichReturnsEmptyResult() throws URISyntaxException, JsonProcessingException { + void searchUnique_withSearchObjectWhichReturnsEmptyResult() { // Here we only test that the object properties are correctly mapped to get params, // since the response parsing and binding is covered by the other tests. stubFor(get(urlPathEqualTo("/api/v2/endpoints/")) @@ -173,7 +172,7 @@ void searchUnique_withSearchObjectWhichReturnsEmptyResult() throws URISyntaxExce } @Test - void searchUnique_withQueryParamsWhichReturnsEmptyResult() throws URISyntaxException, JsonProcessingException { + void searchUnique_withQueryParamsWhichReturnsEmptyResult() { // Here we only test that the object properties are correctly mapped to get params, // since the response parsing and binding is covered by the other tests. stubFor(get(urlPathEqualTo("/api/v2/endpoints/"))