Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit dc0912b

Browse files
committedOct 7, 2024··
fix: fixed test not passing
1 parent 7090c2a commit dc0912b

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed
 

‎tests/e2e/web/api/v1/contexts/torrent/contract.rs

+5
Original file line numberDiff line numberDiff line change
@@ -1126,6 +1126,11 @@ mod for_authenticated_users {
11261126
let mut env = TestEnv::new();
11271127
env.start(api::Version::V1).await;
11281128

1129+
if !env.provides_a_tracker() {
1130+
println!("test skipped. It requires a tracker to be running.");
1131+
return;
1132+
}
1133+
11291134
let registered_user = new_logged_in_user(&env).await;
11301135

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

0 commit comments

Comments
 (0)
Please sign in to comment.