Skip to content
Snippets Groups Projects
Commit f5a3ad90 authored by Piotr Gawron's avatar Piotr Gawron
Browse files

wrong exception was expected

parent 1d5f980b
No related branches found
No related tags found
1 merge request!853Resolve "replace e.printstacktrace in unit tests"
Pipeline #12031 passed
......@@ -235,7 +235,7 @@ public class EntrezAnnotatorTest extends AnnotationTestFunctions {
}
}
@Test(expected = SourceNotAvailable.class)
@Test(expected = AnnotatorException.class)
public void testParseInvalidEntrezResponse() throws Exception {
WebPageDownloader downloader = entrezAnnotator.getWebPageDownloader();
GeneralCacheInterface cache = entrezAnnotator.getCache();
......@@ -253,7 +253,7 @@ public class EntrezAnnotatorTest extends AnnotationTestFunctions {
}
@Test(expected = SourceNotAvailable.class)
@Test(expected = AnnotatorException.class)
public void testParseInvalidEntrezResponse2() throws Exception {
WebPageDownloader downloader = entrezAnnotator.getWebPageDownloader();
GeneralCacheInterface cache = entrezAnnotator.getCache();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment