changeset 1074:776adc1cf2ad release-98941

switch to https in tests
author pavel.sher
date Thu, 01 Jul 2021 11:22:24 +0200
parents d3148b094937
children 255e9adb6d95 4736ac882a1f
files mercurial-tests/src/jetbrains/buildServer/buildTriggers/vcs/mercurial/MercurialUrlSupportTest.java
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/mercurial-tests/src/jetbrains/buildServer/buildTriggers/vcs/mercurial/MercurialUrlSupportTest.java	Tue May 11 14:29:20 2021 +0300
+++ b/mercurial-tests/src/jetbrains/buildServer/buildTriggers/vcs/mercurial/MercurialUrlSupportTest.java	Thu Jul 01 11:22:24 2021 +0200
@@ -54,11 +54,11 @@
   }
 
   public void http_protocol_mercurial_repo() throws VcsException {
-    VcsUrl url = new VcsUrl("http://hg.jetbrains.org/hg/mercurial/", new Credentials("user1", "pass1"));
+    VcsUrl url = new VcsUrl("https://hg.jetbrains.org/hg/mercurial/", new Credentials("user1", "pass1"));
     Map<String, String> props = myUrlSupport.convertToVcsRootProperties(url);
     assertNotNull(props);
 
-    assertEquals("http://hg.jetbrains.org/hg/mercurial/", props.get(Constants.REPOSITORY_PROP));
+    assertEquals("https://hg.jetbrains.org/hg/mercurial/", props.get(Constants.REPOSITORY_PROP));
     assertEquals("user1", props.get(Constants.USERNAME));
     assertEquals("pass1", props.get(Constants.PASSWORD));
   }