mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-12-27 06:03:51 +03:00
chore(lint): Fix bug when a token is given public only
(cherry picked from commit 14d85597f8
)
This commit is contained in:
parent
ea5a8c7809
commit
1f9104d96f
1 changed files with 1 additions and 1 deletions
|
@ -51,7 +51,7 @@ func TestAPIUserSearchLoggedIn(t *testing.T) {
|
|||
for _, user := range results.Data {
|
||||
assert.Contains(t, user.UserName, query)
|
||||
assert.NotEmpty(t, user.Email)
|
||||
assert.True(t, user.Visibility == "public")
|
||||
assert.Equal(t, "public", user.Visibility)
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue