e2e test - VidBaseTestCase api uri support https scheme 50/100550/2
authorEylon Malin <eylon.malin@intl.att.com>
Tue, 21 Jan 2020 15:53:03 +0000 (17:53 +0200)
committerIttay Stern <ittay.stern@att.com>
Wed, 22 Jan 2020 04:38:39 +0000 (04:38 +0000)
Issue-ID: VID-757
Signed-off-by: Eylon Malin <eylon.malin@intl.att.com>
Change-Id: I54e431c6faf6c14a1a7b521a9cb18f0477ecdadd

vid-automation/src/main/java/vid/automation/test/test/VidBaseTestCase.java

index fd3dd47..8421427 100644 (file)
@@ -113,7 +113,7 @@ public class VidBaseTestCase extends SetupCDTest{
         } catch (URISyntaxException e) {
             throw new RuntimeException(e);
         }
-        this.uri = new JerseyUriBuilder().host(envUrI.getHost()).port(envUrI.getPort()).scheme("http").path("vid").build();
+        this.uri = new JerseyUriBuilder().host(envUrI.getHost()).port(envUrI.getPort()).scheme(envUrI.getScheme()).path("vid").build();
     }
 
     public void login() {