Skip to content

Commit cb8a9c4

Browse files
committed
Java: Replace IONOS S3 with samples.develop.vaas.gdatasecurity.de in tests
1 parent a00646f commit cb8a9c4

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

java/src/test/java/de/gdata/test/integration/RealApiIntegrationTests.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@
4545

4646
@Slf4j
4747
public class RealApiIntegrationTests {
48-
private static final String EICAR_URL = "https://vaas-test.s3-eu-central-1.ionoscloud.com/eicar.com.txt";
48+
private static final String EICAR_URL = "https://samples.develop.vaas.gdatasecurity.de/eicar.com.txt";
4949

5050
private static final Dotenv dotenv = Dotenv.configure()
5151
.ignoreIfMissing()
@@ -318,9 +318,9 @@ public void forSha256_IfCancellationIsRequested_ThrowsCancellationException() {
318318

319319
@ParameterizedTest
320320
@CsvSource({
321-
"https://s3-eu-central-2.ionoscloud.com/test-samples-vaas/clean.txt, CLEAN",
322-
"https://s3-eu-central-2.ionoscloud.com/test-samples-vaas/eicar.com.txt, MALICIOUS",
323-
"https://s3-eu-central-2.ionoscloud.com/test-samples-vaas/PotentiallyUnwanted.exe, PUP"
321+
"https://samples.develop.vaas.gdatasecurity.de/clean.txt, CLEAN",
322+
"https://samples.develop.vaas.gdatasecurity.de/eicar.com.txt, MALICIOUS",
323+
"https://samples.develop.vaas.gdatasecurity.de/PotentiallyUnwanted.exe, PUP"
324324
})
325325
public void forFile_ReturnsVerdict(String uri, Verdict verdict) throws Exception {
326326
var tmpFile = Path.of(System.getProperty("java.io.tmpdir"), "file.txt");

0 commit comments

Comments
 (0)