From 5ca75766a71f30e8451bb02aaae5e08cdb68db44 Mon Sep 17 00:00:00 2001 From: Mario Date: Wed, 18 Sep 2024 22:30:29 +0200 Subject: [PATCH] test: fixed test not passing with public tracker --- tests/e2e/web/api/v1/contexts/torrent/contract.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/e2e/web/api/v1/contexts/torrent/contract.rs b/tests/e2e/web/api/v1/contexts/torrent/contract.rs index 9f968ca1..2efa1479 100644 --- a/tests/e2e/web/api/v1/contexts/torrent/contract.rs +++ b/tests/e2e/web/api/v1/contexts/torrent/contract.rs @@ -1572,7 +1572,7 @@ mod for_authenticated_users { let downloaded_torrent = decode_torrent(&response.bytes).expect("could not decode downloaded torrent"); - let expected_downloaded_torrent = canonical_torrent_for(uploaded_torrent, &env, &Some(logged_in_admin)).await; + let expected_downloaded_torrent = canonical_torrent_for(uploaded_torrent, &env, &None).await; assert_eq!(downloaded_torrent, expected_downloaded_torrent); }