From 33cd67ff8db7b57fb6097c537b26c99db733b0e4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=A9my=20James=20Toussaint?= Date: Fri, 22 Jul 2022 16:04:26 +0200 Subject: [PATCH 1/3] Update SSL download test --- src/test/java/com/iexec/common/utils/FileHelperTests.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/test/java/com/iexec/common/utils/FileHelperTests.java b/src/test/java/com/iexec/common/utils/FileHelperTests.java index 2ded4093..7dc29654 100644 --- a/src/test/java/com/iexec/common/utils/FileHelperTests.java +++ b/src/test/java/com/iexec/common/utils/FileHelperTests.java @@ -27,7 +27,7 @@ import java.nio.file.Files; import java.nio.file.Paths; -import static com.iexec.common.utils.FileHelper.*; +import static com.iexec.common.utils.FileHelper.downloadFile; import static org.assertj.core.api.Assertions.assertThat; import static org.junit.jupiter.api.Assertions.assertEquals; import static org.junit.jupiter.api.Assertions.assertThrows; @@ -43,10 +43,10 @@ class FileHelperTests { "0x240987ee1480e8e0b1b26fa806810fea04021191a8e6d8ab6325c15fa61fa9b6"; // https private static final String HTTPS_URL = - "https://iex.ec/wp-content/uploads/2018/12/token.svg"; + "https://github.githubassets.com/favicons/favicon.png"; // private static final String HTTPS_FILENAME = "token.svg"; private static final String HTTPS_FILE_DIGEST = - "0x5e824f880294851ce7cf77671231f41fcd5502579c603adc884a978b2a3ce364"; + "0x74cf90ac2fe6624ab1056cacea11cf7ed4f8bef54bbb0e869638013bba45bc08"; // redirection // private static final String REDIRECTION_URL = "https://goo.gl/t8JxoX"; // private static final String REDIRECTION_FILE_DIGEST = "TODO"; From 697cfdb58079b6a2bbe9b456bc0809329bc8ec2b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=A9my=20James=20Toussaint?= Date: Fri, 22 Jul 2022 16:06:18 +0200 Subject: [PATCH 2/3] Release version 6.0.1 --- gradle.properties | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gradle.properties b/gradle.properties index 9d64f36a..6821609c 100644 --- a/gradle.properties +++ b/gradle.properties @@ -1,3 +1,3 @@ -version=6.0.0 +version=6.0.1 nexusUser= nexusPassword= From 1622ba5de9ab199f12046a15be813a7587f0707b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=A9my=20James=20Toussaint?= Date: Fri, 22 Jul 2022 16:46:53 +0200 Subject: [PATCH 3/3] Use specific asset URL --- src/test/java/com/iexec/common/utils/FileHelperTests.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/test/java/com/iexec/common/utils/FileHelperTests.java b/src/test/java/com/iexec/common/utils/FileHelperTests.java index 7dc29654..1e453d1d 100644 --- a/src/test/java/com/iexec/common/utils/FileHelperTests.java +++ b/src/test/java/com/iexec/common/utils/FileHelperTests.java @@ -42,11 +42,11 @@ class FileHelperTests { private static final String HTTP_FILE_DIGEST = "0x240987ee1480e8e0b1b26fa806810fea04021191a8e6d8ab6325c15fa61fa9b6"; // https - private static final String HTTPS_URL = - "https://github.githubassets.com/favicons/favicon.png"; + private static final String HTTPS_URL = "https://upload.wikimedia.org" + + "/wikipedia/commons/thumb/6/65/600px_Black_bordered_HEX-0082D6.svg/600px-600px_Black_bordered_HEX-0082D6.svg.png"; // private static final String HTTPS_FILENAME = "token.svg"; private static final String HTTPS_FILE_DIGEST = - "0x74cf90ac2fe6624ab1056cacea11cf7ed4f8bef54bbb0e869638013bba45bc08"; + "0x7ee6112553cfa9ef3fd9311f55d6543f959a969700cfd39499f8775b4201739b"; // redirection // private static final String REDIRECTION_URL = "https://goo.gl/t8JxoX"; // private static final String REDIRECTION_FILE_DIGEST = "TODO";