summaryrefslogtreecommitdiffstats
path: root/tests/integration/rename_branch_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'tests/integration/rename_branch_test.go')
-rw-r--r--tests/integration/rename_branch_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/integration/rename_branch_test.go b/tests/integration/rename_branch_test.go
index d8434c28bb..9a55193ccf 100644
--- a/tests/integration/rename_branch_test.go
+++ b/tests/integration/rename_branch_test.go
@@ -35,7 +35,7 @@ func TestRenameBranch(t *testing.T) {
// check old branch link
req = NewRequestWithValues(t, "GET", "/user2/repo1/src/branch/master/README.md", postData)
resp = session.MakeRequest(t, req, http.StatusSeeOther)
- location := resp.HeaderMap.Get("Location")
+ location := resp.Header().Get("Location")
assert.Equal(t, "/user2/repo1/src/branch/main/README.md", location)
// check db