Include repo scope in TestMigrateGiteaForm
This commit is contained in:
parent
15ed960dc5
commit
11a51038ad
1 changed files with 1 additions and 1 deletions
|
@ -67,7 +67,7 @@ func TestMigrateGiteaForm(t *testing.T) {
|
|||
repoName := "repo1"
|
||||
repoOwner := unittest.AssertExistsAndLoadBean(t, &user_model.User{Name: ownerName})
|
||||
session := loginUser(t, ownerName)
|
||||
token := getTokenForLoggedInUser(t, session)
|
||||
token := getTokenForLoggedInUser(t, session, "repo")
|
||||
|
||||
// Step 0: verify the repo is available
|
||||
req := NewRequestf(t, "GET", fmt.Sprintf("/%s/%s", ownerName, repoName))
|
||||
|
|
Loading…
Add table
Reference in a new issue