From fa5806cecf222ecf1a24c0652177027a017c10cd Mon Sep 17 00:00:00 2001 From: erik Date: Tue, 28 May 2024 15:37:41 +0200 Subject: [PATCH] Use StatusSeeOther --- tests/integration/repo_settings_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/integration/repo_settings_test.go b/tests/integration/repo_settings_test.go index 9dfe6d1af3..bf7c38727f 100644 --- a/tests/integration/repo_settings_test.go +++ b/tests/integration/repo_settings_test.go @@ -311,7 +311,7 @@ func TestRepoFollowing(t *testing.T) { "action": "federation", "following_repos": fmt.Sprintf("%s/api/v1/activitypub/repository-id/1", federatedSrv.URL), }) - session.MakeRequest(t, req, http.StatusOK) + session.MakeRequest(t, req, http.StatusSeeOther) // Verify it was added. federationHost := unittest.AssertExistsAndLoadBean(t, &forgefed.FederationHost{HostFqdn: "127.0.0.1"})