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

fix on unit test

parent f9c58364
No related branches found
No related tags found
1 merge request!46Resolve "find all drugs doesn't find all drugs sometimes"
......@@ -950,7 +950,7 @@ public class ChEMBLParserTest extends AnnotationTestFunctions {
// valid xml but with empty data
when(mockDownloader.getFromNetwork(anyString())).thenReturn(
"<response><molecules>" + "<molecule><pref_name/><molecule_chembl_id/><molecule_synonyms/></molecule>"
"<response><molecules>" + "<molecule><pref_name/><max_phase/><molecule_chembl_id/><molecule_synonyms/></molecule>"
+ "</molecules><mechanisms/><molecule_forms/></response>");
chemblParser.setWebPageDownloader(mockDownloader);
assertEquals(ExternalServiceStatusType.CHANGED, chemblParser.getServiceStatus().getStatus());
......
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