mirror of
https://github.com/go-gitea/gitea
synced 2024-11-19 08:29:30 +01:00
fix imports
This commit is contained in:
parent
e7cb734bff
commit
b5ec40debe
@ -13,7 +13,6 @@ import (
|
||||
repo_model "code.gitea.io/gitea/models/repo"
|
||||
"code.gitea.io/gitea/models/unittest"
|
||||
user_model "code.gitea.io/gitea/models/user"
|
||||
"code.gitea.io/gitea/modules/structs"
|
||||
api "code.gitea.io/gitea/modules/structs"
|
||||
"code.gitea.io/gitea/tests"
|
||||
|
||||
@ -53,7 +52,7 @@ func testPrivateActivityHelperEnablePrivateActivity(t *testing.T) {
|
||||
"name": privateActivityTestUser,
|
||||
"email": privateActivityTestUser + "@example.com",
|
||||
"language": "en-US",
|
||||
"actions_visibility": fmt.Sprintf("%d", structs.ActionsVisibilityNone),
|
||||
"actions_visibility": fmt.Sprintf("%d", api.ActionsVisibilityNone),
|
||||
})
|
||||
session.MakeRequest(t, req, http.StatusSeeOther)
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user