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.
forgejo/tests
yp05327 699f20234b
Use correct README link to render the README (#23152)
`renderReadmeFile` needs `readmeTreelink` as parameter but gets
`treeLink`.
The values of them look like as following:
`treeLink`:  `/{OwnerName}/{RepoName}/src/branch/{BranchName}`
`readmeTreelink`:
`/{OwnerName}/{RepoName}/src/branch/{BranchName}/{ReadmeFileName}`

`path.Dir` in

8540fc45b1/routers/web/repo/view.go (L316)
should convert `readmeTreelink` into
`/{OwnerName}/{RepoName}/src/branch/{BranchName}` instead of the current
`/{OwnerName}/{RepoName}/src/branch`.

Fixes #23151

---------

Co-authored-by: Jason Song <i@wolfogre.com>
Co-authored-by: John Olheiser <john.olheiser@gmail.com>
Co-authored-by: silverwind <me@silverwind.io>
1 year ago
..
e2e Implement FSFE REUSE for golang files (#21840) 2 years 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 Use correct README link to render the README (#23152) 1 year ago
integration Use correct README link to render the README (#23152) 1 year ago
mssql.ini.tmpl Kd/ci playwright go test (#20123) 2 years ago
mysql.ini.tmpl Add some comments for recent code (#22725) 1 year ago
mysql8.ini.tmpl Kd/ci playwright go test (#20123) 2 years ago
pgsql.ini.tmpl Kd/ci playwright go test (#20123) 2 years ago
sqlite.ini.tmpl Add a simple test for external renderer (#20033) 2 years ago
test_utils.go Remove all package data after tests (#22984) 1 year ago
testlogger.go Implement FSFE REUSE for golang files (#21840) 2 years ago