Skip to content

Commit

Permalink
fix: fixed test not passing
Browse files Browse the repository at this point in the history
  • Loading branch information
mario-nt committed Oct 7, 2024
1 parent 7090c2a commit dc0912b
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions tests/e2e/web/api/v1/contexts/torrent/contract.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1126,6 +1126,11 @@ mod for_authenticated_users {
let mut env = TestEnv::new();
env.start(api::Version::V1).await;

if !env.provides_a_tracker() {
println!("test skipped. It requires a tracker to be running.");
return;
}

let registered_user = new_logged_in_user(&env).await;

let client = Client::authenticated(&env.server_socket_addr().unwrap(), &registered_user.token);
Expand Down

0 comments on commit dc0912b

Please sign in to comment.