From 6252c21f25fa087d1933fcbf9a73f5ed53048b3c Mon Sep 17 00:00:00 2001 From: Jim Procter Date: Tue, 14 Nov 2017 12:11:04 +0000 Subject: [PATCH] JAL-2758 update uniprot retrieval test --- test/jalview/ws/dbsources/UniprotTest.java | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/test/jalview/ws/dbsources/UniprotTest.java b/test/jalview/ws/dbsources/UniprotTest.java index 5421a44..f98ef85 100644 --- a/test/jalview/ws/dbsources/UniprotTest.java +++ b/test/jalview/ws/dbsources/UniprotTest.java @@ -163,14 +163,11 @@ public class UniprotTest new StringReader(UNIPROT_XML)).get(0); /* - * name formatted as source | accession ids | names - * source database converted to Jalview canonical name + * name formatted with Uniprot Entry name */ - String expectedName = "UNIPROT|A9CKP4|A9CKP5|A9CKP4_AGRT5|A9CKP4_AGRT6"; - assertEquals(expectedName, Uniprot.getUniprotEntryId(entry, true)); - String expectedShortName = "A9CKP4_AGRT5|A9CKP4_AGRT6"; - assertEquals(expectedShortName, - Uniprot.getUniprotEntryId(entry, false)); + String expectedName = "A9CKP4_AGRT5|A9CKP4_AGRT6"; + assertEquals(expectedName, + Uniprot.getUniprotEntryId(entry)); } /** -- 1.7.10.2