JAL-4073 update tests
authorJim Procter <j.procter@dundee.ac.uk>
Tue, 11 Oct 2022 14:43:36 +0000 (15:43 +0100)
committerJim Procter <j.procter@dundee.ac.uk>
Tue, 11 Oct 2022 14:43:36 +0000 (15:43 +0100)
test/jalview/ws/dbsources/PfamFullTest.java
test/jalview/ws/dbsources/PfamSeedTest.java

index fd59ef3..d03057d 100644 (file)
@@ -38,7 +38,7 @@ public class PfamFullTest
   @Test(groups = "Functional")
   public void testGetURL()
   {
-    String path = "www.ebi.ac.uk/interpro/wwwapi/entry/pfam/ABC/?annotation=alignment:full&download";
+    String path = "www.ebi.ac.uk/interpro/api/entry/pfam/ABC/?annotation=alignment:full";
 
     // with default value for domain
     String url = new PfamFull().getURL(" abc ");
@@ -46,7 +46,7 @@ public class PfamFullTest
 
     // with override in properties
     Cache.setProperty(Pfam.PFAM_BASEURL_KEY,
-            "http://www.ebi.ac.uk/interpro/wwwapi/entry/pfam/$PFAMID$/?annotation=alignment:$ALTYPE$&download");
+            "http://www.ebi.ac.uk/interpro/api/entry/pfam/$PFAMID$/?annotation=alignment:$ALTYPE$");
     url = new PfamFull().getURL(" abc ");
     assertEquals(url, "http://" + path);
   }
index d228c35..3c30086 100644 (file)
@@ -38,7 +38,7 @@ public class PfamSeedTest
   @Test(groups = "Functional")
   public void testGetURL()
   {
-    String path = "www.ebi.ac.uk/interpro/wwwapi/entry/pfam/ABC/?annotation=alignment:seed&download";
+    String path = "www.ebi.ac.uk/interpro/api/entry/pfam/ABC/?annotation=alignment:seed";
 
     // with default value for domain
     String url = new PfamSeed().getURL(" abc ");
@@ -46,7 +46,7 @@ public class PfamSeedTest
 
     // with override in properties
     Cache.setProperty(Pfam.PFAM_BASEURL_KEY,
-            "http://www.ebi.ac.uk/interpro/wwwapi/entry/pfam/$PFAMID$/?annotation=alignment:$ALTYPE$&download");
+            "http://www.ebi.ac.uk/interpro/api/entry/pfam/$PFAMID$/?annotation=alignment:$ALTYPE$");
     url = new PfamSeed().getURL(" abc ");
     assertEquals(url, "http://" + path);
   }