From cd7f028b24e8fccbcab05cf68acbea55da941943 Mon Sep 17 00:00:00 2001 From: Ben Soares Date: Tue, 29 Nov 2022 13:20:54 +0000 Subject: [PATCH] JAL-4101 Updated Rfam* tests --- test/jalview/ws/dbsources/RfamFullTest.java | 4 ++-- test/jalview/ws/dbsources/RfamSeedTest.java | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) 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); } -- 1.7.10.2