fix imports

This commit is contained in:
Tim-Niclas Oelschläger 2024-02-25 19:27:41 +01:00
parent e7cb734bff
commit b5ec40debe
No known key found for this signature in database

View File

@ -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)
}