Skip to content

Commit

Permalink
fix: [#488] broken test after removing duplicate tracker urls from ma…
Browse files Browse the repository at this point in the history
…gnet links
  • Loading branch information
josecelano committed Feb 23, 2024
1 parent c1fd866 commit d100b5b
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions tests/e2e/web/api/v1/contexts/torrent/contract.rs
Original file line number Diff line number Diff line change
Expand Up @@ -201,13 +201,12 @@ mod for_guests {
// it adds the tracker with the personal announce url, if the user
// is logged in. If the user is not logged in, it adds the default
// tracker again, and it ends up with two trackers.
trackers: vec![tracker_url.clone(), tracker_url.clone()],
trackers: vec![tracker_url.clone()],
magnet_link: format!(
// cspell:disable-next-line
"magnet:?xt=urn:btih:{}&dn={}&tr={}&tr={}",
"magnet:?xt=urn:btih:{}&dn={}&tr={}",
test_torrent.file_info.info_hash.to_lowercase(),
urlencoding::encode(&test_torrent.index_info.title),
encoded_tracker_url,
encoded_tracker_url
),
tags: vec![],
Expand Down

0 comments on commit d100b5b

Please sign in to comment.