Skip to content

Commit

Permalink
Merge pull request #345 from iExecBlockchainComputing/hotfix/ssl-down…
Browse files Browse the repository at this point in the history
…load-tests

Hotfix/ssl download tests
  • Loading branch information
jeremyjams authored Jul 25, 2022
2 parents b8fc713 + 1622ba5 commit 88b5aa5
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
version=6.0.0
version=6.0.1
nexusUser=
nexusPassword=
8 changes: 4 additions & 4 deletions src/test/java/com/iexec/common/utils/FileHelperTests.java
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand All @@ -42,11 +42,11 @@ class FileHelperTests {
private static final String HTTP_FILE_DIGEST =
"0x240987ee1480e8e0b1b26fa806810fea04021191a8e6d8ab6325c15fa61fa9b6";
// https
private static final String HTTPS_URL =
"https://iex.ec/wp-content/uploads/2018/12/token.svg";
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 =
"0x5e824f880294851ce7cf77671231f41fcd5502579c603adc884a978b2a3ce364";
"0x7ee6112553cfa9ef3fd9311f55d6543f959a969700cfd39499f8775b4201739b";
// redirection
// private static final String REDIRECTION_URL = "https://goo.gl/t8JxoX";
// private static final String REDIRECTION_FILE_DIGEST = "TODO";
Expand Down

0 comments on commit 88b5aa5

Please sign in to comment.