Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
JeromeMBourgeois committed Feb 23, 2024
1 parent a5b19f0 commit 646e88c
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
import org.apache.http.message.BasicStatusLine;
import org.apache.http.client.methods.CloseableHttpResponse;
import org.apache.http.impl.client.CloseableHttpClient;
import org.json.simple.parser.ParseException;
import org.junit.jupiter.api.BeforeEach;
import org.junit.jupiter.api.Test;
import org.junit.runner.RunWith;
Expand Down Expand Up @@ -109,7 +110,7 @@ void testReplaceXmlParameters() {
}

@Test
public void testGetByType() throws ExceptionColecticaUnreachable, IOException {
public void testGetByType() throws ExceptionColecticaUnreachable, IOException, ParseException {

DDIItemType type = DDIItemType.CODE_LIST;
when(colecticaService.getByType(type)).thenReturn(ResponseEntity.ok("test"));
Expand Down

0 comments on commit 646e88c

Please sign in to comment.