From 67a464bebcfaa5ffbd5ab77c8d55fa81957cd453 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ahmet=20Kaan=20G=C3=BCm=C3=BC=C5=9F?= Date: Tue, 20 Oct 2026 13:45:26 +0300 Subject: [PATCH] =?UTF-8?q?=E2=9C=85=20test:=20use=20a=20private=20repo=20?= =?UTF-8?q?for=20the=20suspended-token=20clone?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- crates/forge-web/tests/git_e2e.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/crates/forge-web/tests/git_e2e.rs b/crates/forge-web/tests/git_e2e.rs index 00e5496..71a4657 100644 --- a/crates/forge-web/tests/git_e2e.rs +++ b/crates/forge-web/tests/git_e2e.rs @@ -585,7 +585,7 @@ async fn suspended_user_token_is_refused_over_http_git() { let (_server, ports) = launch(&dir, ports).await; let http = Http::new(ports.http); - // Bob makes a token and a public repo of his own, and can push to it. + // Bob makes a token and a private repo (a public one would still clone anonymously) of his own, and can push to it. let bob = login(&http, "bob", BOB_PW).await; let bob_token = create_token(&http, &bob, "suspend-token").await; let page = http.get_cookie("/new", &bob).await; @@ -597,7 +597,7 @@ async fn suspended_user_token_is_refused_over_http_git() { ("csrf", &csrf), ("name", "bobrepo"), ("description", ""), - ("visibility", "public"), + ("visibility", "private"), ("default_branch", "main"), ], Some(&bob),