@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 ");
// 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);
}
@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 ");
// 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);
}