You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gitea/tests
Giteabot 09efce9da2
enable system users for comment.LoadPoster (#28014) (#28032)
Backport #28014 by @earl-warren

System users (Ghost, ActionsUser, etc) have a negative id and may be the
author of a comment, either because it was created by a now deleted user
or via an action using a transient token.

The GetPossibleUserByID function has special cases related to system
users and will not fail if given a negative id.

Refs: https://codeberg.org/forgejo/forgejo/issues/1425 

(cherry picked from commit 6a2d2fa24390116d31ae2507c0a93d423f690b7b)

Co-authored-by: Earl Warren <109468362+earl-warren@users.noreply.github.com>
1 year ago
..
e2e Change green buttons to primary color (#27099) 1 year ago
fuzz Move fuzz tests into tests/fuzz (#22376) 2 years ago
gitea-lfs-meta Test views of LFS files (#22196) 2 years ago
gitea-repositories-meta Allow get release download files and lfs files with oauth2 token format (#26430) (#27379) 1 year ago
integration enable system users for comment.LoadPoster (#28014) (#28032) 1 year ago
testdata/data/attachments/a/0 Allow get release download files and lfs files with oauth2 token format (#26430) (#27379) 1 year ago
mssql.ini.tmpl Remove duplicated notify mail configuration on tests (#26912) 1 year ago
mysql.ini.tmpl Remove duplicated notify mail configuration on tests (#26912) 1 year ago
mysql8.ini.tmpl Do not use deprecated log config options by default (#26592) 2 years ago
pgsql.ini.tmpl Remove duplicated notify mail configuration on tests (#26912) 1 year ago
sqlite.ini.tmpl Do not use deprecated log config options by default (#26592) 2 years ago
test_utils.go Allow get release download files and lfs files with oauth2 token format (#26430) (#27379) 1 year ago