Use another user

This commit is contained in:
Lunny Xiao 2024-05-04 18:41:40 +08:00
parent 79994ea9a6
commit 4ce383f731
No known key found for this signature in database
GPG Key ID: C3B7C91B632F738A
1 changed files with 1 additions and 1 deletions

View File

@ -38,7 +38,7 @@ func TestMoveRepoProjectColumns(t *testing.T) {
assert.EqualValues(t, 1, columns[1].Sorting)
assert.EqualValues(t, 2, columns[2].Sorting)
sess := loginUser(t, "user1")
sess := loginUser(t, "user2")
req := NewRequest(t, "GET", "/user2/repo1/projects/1")
resp := sess.MakeRequest(t, req, http.StatusOK)
htmlDoc := NewHTMLParser(t, resp.Body)