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
Chongyi Zheng 7b8e418da1
Replace deprecated `math/rand` functions (#30733)
Suggested by logs in #30729

- Remove `math/rand.Seed`
`rand.Seed is deprecated: As of Go 1.20 there is no reason to call Seed
with a random value.`
- Replace `math/rand.Read`
`rand.Read is deprecated: For almost all use cases, [crypto/rand.Read]
is more appropriate.`
- Replace `math/rand` with `math/rand/v2`, which is available since Go
1.22
1 month ago
..
e2e Enable more `revive` linter rules (#30608) 2 months ago
fuzz Rework markup link rendering (#26745) 5 months ago
gitea-lfs-meta Test views of LFS files (#22196) 1 year ago
gitea-repositories-meta Use raw Wiki links for non-renderable Wiki files (#30273) 2 months ago
integration Replace deprecated `math/rand` functions (#30733) 1 month ago
testdata/data/attachments/a/0 Allow get release download files and lfs files with oauth2 token format (#26430) 8 months ago
mssql.ini.tmpl Disable query token param in integration tests (#28592) 6 months ago
mysql.ini.tmpl Disable query token param in integration tests (#28592) 6 months ago
pgsql.ini.tmpl Disable query token param in integration tests (#28592) 6 months ago
sqlite.ini.tmpl Disable query token param in integration tests (#28592) 6 months ago
test_utils.go Add some tests to clarify the "must-change-password" behavior (#30693) 1 month ago