diff --git a/pom.xml b/pom.xml
index 362c65e..4fc3d28 100644
--- a/pom.xml
+++ b/pom.xml
@@ -72,12 +72,12 @@
org.springframework
spring-web
- 5.3.29
+ 6.0.12
org.springframework
spring-context-support
- 5.3.29
+ 6.0.12
com.fasterxml.jackson.core
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 3dad021..09f7372 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
@@ -91,7 +91,7 @@ public void testGetTermChildrenByOBOIdMI() throws Exception {
public void testGetTermParentsByOBOIdGo() throws Exception {
List children = olsClient.getTermChildren(new Identifier("GO:0140110", Identifier.IdentifierType.OBO), "GO", 1);
logger.debug(children.toString());
- Assert.assertTrue(contains(children, new Identifier("GO:0034246", Identifier.IdentifierType.OBO)));
+ Assert.assertTrue(contains(children, new Identifier("GO:0043856", Identifier.IdentifierType.OBO)));
}
@Test
@@ -132,7 +132,7 @@ public void testGetTermsByAnnotationData() throws Exception {
public void testGetTermParentsByOBOId() throws Exception {
List parents = olsClient.getTermParents(new Identifier("GO:0034246", Identifier.IdentifierType.OBO), "GO", 1);
logger.debug(parents.toString());
- Assert.assertTrue(contains(parents, new Identifier("GO:0140110", Identifier.IdentifierType.OBO)));
+ Assert.assertTrue(contains(parents, new Identifier("GO:0003700", Identifier.IdentifierType.OBO)));
}
@Test
@@ -150,14 +150,14 @@ public void testGetTermParentsByOBOIdMI() throws Exception {
public void testGetTermParentsByShortForm() throws Exception {
List parents = olsClient.getTermParents(new Identifier("GO_0034246", Identifier.IdentifierType.OWL), "GO", 1);
logger.debug(parents.toString());
- Assert.assertTrue(contains(parents, new Identifier("GO_0140110", Identifier.IdentifierType.OWL)));
+ Assert.assertTrue(contains(parents, new Identifier("GO_0006390", Identifier.IdentifierType.OWL)));
}
@Test
public void testGetTermParentsByIrIId() throws Exception {
List parents = olsClient.getTermParents(new Identifier("http://purl.obolibrary.org/obo/GO_0034246", Identifier.IdentifierType.IRI), "GO", 1);
logger.debug(parents.toString());
- Assert.assertTrue(contains(parents, new Identifier("http://purl.obolibrary.org/obo/GO_0140110", Identifier.IdentifierType.IRI)));
+ Assert.assertTrue(contains(parents, new Identifier("http://purl.obolibrary.org/obo/GO_0003700", Identifier.IdentifierType.IRI)));
}
@Test
@@ -244,7 +244,7 @@ public void testGetOntologyFromFilePath(){
// Assert.assertEquals(ontology.getNamespace(),"eol");
// ontology = olsClient.getOntologyFromFilePath(URI.create("http://www.bio.ntnu.no/ontology/GeXO/gexo.owl"));
// Assert.assertEquals(ontology.getNamespace(),"gexo");
- ontology = olsClient.getOntologyFromFilePath(URI.create("http://purl.obolibrary.org/obo/go.owl"));
+ ontology = olsClient.getOntologyFromFilePath(URI.create("http://purl.obolibrary.org/obo/go/extensions/go-plus.owl"));
Assert.assertEquals(ontology.getNamespace(),"go");
}