From a210c84273dd8e5f084f2645fb9bc7238b279f19 Mon Sep 17 00:00:00 2001 From: EliotRagueneau Date: Wed, 2 Aug 2023 10:53:11 +0100 Subject: [PATCH] :bug: Delete duplicated test --- .../ols/web/service/client/OLSClientTest.java | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/src/test/java/uk/ac/ebi/pride/utilities/ols/web/service/client/OLSClientTest.java b/src/test/java/uk/ac/ebi/pride/utilities/ols/web/service/client/OLSClientTest.java index daa620b..3dad021 100644 --- a/src/test/java/uk/ac/ebi/pride/utilities/ols/web/service/client/OLSClientTest.java +++ b/src/test/java/uk/ac/ebi/pride/utilities/ols/web/service/client/OLSClientTest.java @@ -72,17 +72,6 @@ public void testGetTermsByName() throws Exception { Assert.assertTrue(target.get().getLabel().toLowerCase().contains("modification")); } - @Test - public void testGetTermsBySynonym() throws Exception { - List terms = olsClient.getTermsByName("lncRNA", "mi", false); - logger.info(terms.toString()); - Assert.assertTrue(terms.size() > 0); - terms = olsClient.getTermsByName("lncRNA", "mi", true); - Optional 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 children = olsClient.getTermChildren(new Identifier("MS_1001143", Identifier.IdentifierType.OWL), "ms", 1);