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
yp05327 22a39bb961
Fix profile render when the README.md size is larger than 1024 bytes (#25131)
Fixes https://github.com/go-gitea/gitea/issues/25094

`GetBlobContent` will only get the first 1024 bytes, if the README.md
size is larger than 1024 bytes,
We can not render the rest of them.
After this fix, we should provide the limited size to read when call
`GetBlobContent`.

After:

![image](https://github.com/go-gitea/gitea/assets/18380374/22a42936-4cf8-40b4-a5c7-e384082beb0d)

---------

Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
2 years ago
..
e2e Rewrite logger system (#24726) 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 Remove git sample files and ignore them (#24271) 2 years ago
integration Fix profile render when the README.md size is larger than 1024 bytes (#25131) 2 years ago
mssql.ini.tmpl Implement actions artifacts (#22738) 2 years ago
mysql.ini.tmpl Implement actions artifacts (#22738) 2 years ago
mysql8.ini.tmpl Implement actions artifacts (#22738) 2 years ago
pgsql.ini.tmpl Implement actions artifacts (#22738) 2 years ago
sqlite.ini.tmpl Implement actions artifacts (#22738) 2 years ago
test_utils.go Rewrite logger system (#24726) 2 years ago