diff options
Diffstat (limited to 'integrations/change_default_branch_test.go')
-rw-r--r-- | integrations/change_default_branch_test.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/integrations/change_default_branch_test.go b/integrations/change_default_branch_test.go index af5542e0b2..096afa28f4 100644 --- a/integrations/change_default_branch_test.go +++ b/integrations/change_default_branch_test.go @@ -28,7 +28,7 @@ func TestChangeDefaultBranch(t *testing.T) { "action": "default_branch", "branch": "DefaultBranch", }) - session.MakeRequest(t, req, http.StatusFound) + session.MakeRequest(t, req, http.StatusSeeOther) csrf = GetCSRF(t, session, branchesURL) req = NewRequestWithValues(t, "POST", branchesURL, map[string]string{ |