Task/java 13772 (#12579)
* JAVA-13772 Updated the link of PDF to a valid one * JAVA-13772 Updated File url and checksum
This commit is contained in:
parent
a00b34660a
commit
b50060aea4
|
@ -17,9 +17,9 @@ import static org.junit.Assert.assertTrue;
|
|||
|
||||
public class FileDownloadIntegrationTest {
|
||||
|
||||
static String FILE_URL = "https://s3.amazonaws.com/baeldung.com/Do+JSON+with+Jackson+by+Baeldung.pdf";
|
||||
static String FILE_URL = "https://s3.amazonaws.com/baeldung.com/Do+JSON+with+Jackson.pdf?__s=vatuzcrazsqopnn7finb";
|
||||
static String FILE_NAME = "file.dat";
|
||||
static String FILE_MD5_HASH = "753197aa27f162faa3e3c2e48ee5eb07";
|
||||
static String FILE_MD5_HASH = "CE20E17B1E1FBF65A85E74AC00FA1FD8";
|
||||
|
||||
@Test
|
||||
public void givenJavaIO_whenDownloadingFile_thenDownloadShouldBeCorrect() throws NoSuchAlgorithmException, IOException {
|
||||
|
|
|
@ -14,7 +14,7 @@ import org.springframework.web.client.RestTemplate;
|
|||
|
||||
public class LargeFileDownloadIntegrationTest {
|
||||
|
||||
static String FILE_URL = "https://s3.amazonaws.com/baeldung.com/Do+JSON+with+Jackson+by+Baeldung.pdf";
|
||||
static String FILE_URL = "https://s3.amazonaws.com/baeldung.com/Do+JSON+with+Jackson.pdf?__s=vatuzcrazsqopnn7finb";
|
||||
|
||||
RestTemplate restTemplate;
|
||||
|
||||
|
|
Loading…
Reference in New Issue