JAL-3692 unit test updated for ?gzip download endpoint URL feature/JAL-3692enaEndpoint
authorgmungoc <g.m.carstairs@dundee.ac.uk>
Wed, 5 Aug 2020 16:01:37 +0000 (17:01 +0100)
committergmungoc <g.m.carstairs@dundee.ac.uk>
Wed, 5 Aug 2020 16:01:37 +0000 (17:01 +0100)
test/jalview/ws/ebi/EBIFetchClientTest.java

index dde340d..c3fae6c 100644 (file)
@@ -47,13 +47,13 @@ public class EBIFetchClientTest
     /*
      * EMBL
      */
-    assertEquals("https://www.ebi.ac.uk/ena/browser/api/embl/x53838",
+    assertEquals("https://www.ebi.ac.uk/ena/browser/api/embl/x53838?download=true&gzip=true",
             EBIFetchClient.buildUrl("X53838", "EMBL", "display=xml"));
 
     /*
      * EMBLCDS
      */
-    assertEquals("https://www.ebi.ac.uk/ena/browser/api/embl/caa37824",
+    assertEquals("https://www.ebi.ac.uk/ena/browser/api/embl/caa37824?download=true&gzip=true",
             EBIFetchClient.buildUrl("CAA37824", "EMBL", "display=xml"));
 
     /*