mirror of
https://github.com/go-gitea/gitea
synced 2024-11-19 10:49:26 +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"
|
repo_model "code.gitea.io/gitea/models/repo"
|
||||||
"code.gitea.io/gitea/models/unittest"
|
"code.gitea.io/gitea/models/unittest"
|
||||||
user_model "code.gitea.io/gitea/models/user"
|
user_model "code.gitea.io/gitea/models/user"
|
||||||
"code.gitea.io/gitea/modules/structs"
|
|
||||||
api "code.gitea.io/gitea/modules/structs"
|
api "code.gitea.io/gitea/modules/structs"
|
||||||
"code.gitea.io/gitea/tests"
|
"code.gitea.io/gitea/tests"
|
||||||
|
|
||||||
@ -53,7 +52,7 @@ func testPrivateActivityHelperEnablePrivateActivity(t *testing.T) {
|
|||||||
"name": privateActivityTestUser,
|
"name": privateActivityTestUser,
|
||||||
"email": privateActivityTestUser + "@example.com",
|
"email": privateActivityTestUser + "@example.com",
|
||||||
"language": "en-US",
|
"language": "en-US",
|
||||||
"actions_visibility": fmt.Sprintf("%d", structs.ActionsVisibilityNone),
|
"actions_visibility": fmt.Sprintf("%d", api.ActionsVisibilityNone),
|
||||||
})
|
})
|
||||||
session.MakeRequest(t, req, http.StatusSeeOther)
|
session.MakeRequest(t, req, http.StatusSeeOther)
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user