Skip to content

Commit

Permalink
replace eicar url in rust test
Browse files Browse the repository at this point in the history
  • Loading branch information
ata-no-one committed Apr 23, 2024
1 parent 753cc47 commit 7288fe9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions rust/tests/real_api_integration_tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ async fn from_sha256_single_malicious_hash() {

#[tokio::test]
async fn from_http_response_stream_returns_malicious_verdict() {
let result = reqwest::get("http://eicar.eu/eicar.com.txt").await;
let result = reqwest::get("https://secure.eicar.org/eicar.com.txt").await;
let vaas = get_vaas().await;

let ct = CancellationToken::from_seconds(10);
Expand All @@ -132,7 +132,7 @@ async fn from_http_response_stream_returns_malicious_verdict() {

#[tokio::test]
async fn from_http_response_stream_no_hash_lookup_no_cache_lookup_returns_malicious_verdict() {
let result = reqwest::get("http://eicar.eu/eicar.com.txt").await;
let result = reqwest::get("https://secure.eicar.org/eicar.com.txt").await;
let vaas = get_vaas_with_flags(false, false).await;

let ct = CancellationToken::from_seconds(10);
Expand Down

0 comments on commit 7288fe9

Please sign in to comment.