From: Ben Soares Date: Tue, 29 Nov 2022 13:20:54 +0000 (+0000) Subject: JAL-4101 Updated Rfam* tests X-Git-Tag: Release_2_11_2_6~6 X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=cd7f028b24e8fccbcab05cf68acbea55da941943;p=jalview.git JAL-4101 Updated Rfam* tests --- diff --git a/test/jalview/ws/dbsources/RfamFullTest.java b/test/jalview/ws/dbsources/RfamFullTest.java index 87b963f..b0dbd8b 100644 --- a/test/jalview/ws/dbsources/RfamFullTest.java +++ b/test/jalview/ws/dbsources/RfamFullTest.java @@ -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); } diff --git a/test/jalview/ws/dbsources/RfamSeedTest.java b/test/jalview/ws/dbsources/RfamSeedTest.java index 1165d1f..3fc80b6 100644 --- a/test/jalview/ws/dbsources/RfamSeedTest.java +++ b/test/jalview/ws/dbsources/RfamSeedTest.java @@ -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); }