Skip to content

Commit

Permalink
Cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
nck-mlcnv committed Sep 24, 2024
1 parent 21cc304 commit 870d9d9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
1 change: 0 additions & 1 deletion src/test/java/org/aksw/iguana/cc/query/QueryDataTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@
import java.io.InputStream;
import java.nio.file.Files;
import java.nio.file.Path;
import java.nio.file.Paths;
import java.util.List;

import static org.junit.jupiter.api.Assertions.*;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -290,7 +290,7 @@ public void testSeparateUpdateEndpoint(SPARQLProtocolWorker worker) {
@DisplayName("Test Malformed Response Processing")
@ParameterizedTest(name = "[{index}] fault = {0}")
@EnumSource(Fault.class)
public void testMalformedResponseProcessing(Fault fault) throws IOException, URISyntaxException {
public void testMalformedResponseProcessing(Fault fault) throws URISyntaxException {
SPARQLProtocolWorker worker = (SPARQLProtocolWorker) ((Named<?>)requestFactoryData().toList().get(0).get()[0]).getPayload();
wm.stubFor(get(urlPathEqualTo("/ds/query"))
.willReturn(aResponse().withFault(fault)));
Expand All @@ -300,7 +300,7 @@ public void testMalformedResponseProcessing(Fault fault) throws IOException, URI
}

@Test
public void testBadHttpCodeResponse() throws IOException, URISyntaxException {
public void testBadHttpCodeResponse() throws URISyntaxException {
SPARQLProtocolWorker worker = (SPARQLProtocolWorker) ((Named<?>)requestFactoryData().toList().get(0).get()[0]).getPayload();
wm.stubFor(get(urlPathEqualTo("/ds/query"))
.willReturn(aResponse().withStatus(404)));
Expand Down

0 comments on commit 870d9d9

Please sign in to comment.