Skip to content

Commit

Permalink
🐛 Delete duplicated test
Browse files Browse the repository at this point in the history
  • Loading branch information
EliotRagueneau committed Aug 2, 2023
1 parent 94e25c1 commit a210c84
Showing 1 changed file with 0 additions and 11 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -72,17 +72,6 @@ public void testGetTermsByName() throws Exception {
Assert.assertTrue(target.get().getLabel().toLowerCase().contains("modification"));
}

@Test
public void testGetTermsBySynonym() throws Exception {
List<Term> terms = olsClient.getTermsByName("lncRNA", "mi", false);
logger.info(terms.toString());
Assert.assertTrue(terms.size() > 0);
terms = olsClient.getTermsByName("lncRNA", "mi", true);
Optional<Term> target = terms.stream().filter(term -> term.getTermOBOId().getIdentifier().equalsIgnoreCase("MI:2190")).findFirst();
Assert.assertTrue(target.isPresent());
Assert.assertTrue(target.get().getLabel().toLowerCase().contains("long"));
}

@Test
public void testGetTermChildrenByOBOId() throws Exception {
List<Term> children = olsClient.getTermChildren(new Identifier("MS_1001143", Identifier.IdentifierType.OWL), "ms", 1);
Expand Down

0 comments on commit a210c84

Please sign in to comment.