JAL-4101 Updated Rfam* tests
authorBen Soares <b.soares@dundee.ac.uk>
Tue, 29 Nov 2022 13:20:54 +0000 (13:20 +0000)
committerBen Soares <b.soares@dundee.ac.uk>
Tue, 29 Nov 2022 13:20:54 +0000 (13:20 +0000)
test/jalview/ws/dbsources/RfamFullTest.java
test/jalview/ws/dbsources/RfamSeedTest.java

index 87b963f..b0dbd8b 100644 (file)
@@ -38,14 +38,14 @@ public class RfamFullTest
   @Test(groups = "Functional")
   public void testGetURL()
   {
-    String path = "rfam.xfam.org/family/ABC/alignment/full?gzip=1&download=1";
+    String path = "rfam.org/family/ABC/alignment/full?gzip=1&download=1";
 
     // with default value for domain
     String url = new RfamFull().getURL(" abc ");
     assertEquals(url, "https://" + path);
 
     // with override in properties
-    Cache.setProperty(Rfam.RFAM_BASEURL_KEY, "http://rfam.xfam.org");
+    Cache.setProperty(Rfam.RFAM_BASEURL_KEY, "http://rfam.org");
     url = new RfamFull().getURL(" abc ");
     assertEquals(url, "http://" + path);
   }
index 1165d1f..3fc80b6 100644 (file)
@@ -38,14 +38,14 @@ public class RfamSeedTest
   @Test(groups = "Functional")
   public void testGetURL()
   {
-    String path = "rfam.xfam.org/family/ABC/alignment/stockholm?gzip=1&download=1";
+    String path = "rfam.org/family/ABC/alignment/stockholm?gzip=1&download=1";
 
     // with default value for domain
     String url = new RfamSeed().getURL(" abc ");
     assertEquals(url, "https://" + path);
 
     // with override in properties
-    Cache.setProperty(Rfam.RFAM_BASEURL_KEY, "http://rfam.xfam.org");
+    Cache.setProperty(Rfam.RFAM_BASEURL_KEY, "http://rfam.org");
     url = new RfamSeed().getURL(" abc ");
     assertEquals(url, "http://" + path);
   }