Skip to content

Commit

Permalink
secureCodeBox#121 Remove Obsolete Checked Exceptions from Method Sign…
Browse files Browse the repository at this point in the history
…ature

Signed-off-by: Sven Strittmatter <[email protected]>
  • Loading branch information
Weltraumschaf committed Jul 3, 2024
1 parent a537644 commit 1ce7c07
Showing 1 changed file with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down Expand Up @@ -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/"))
Expand All @@ -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/"))
Expand Down

0 comments on commit 1ce7c07

Please sign in to comment.