aboutsummaryrefslogtreecommitdiffstats
path: root/modules/test/utils.go
Commit message (Collapse)AuthorAgeFilesLines
* Remove sub-path from container registry realm (#31293)wxiaoguang2024-06-091-2/+4
| | | | Container registry requires that the "/v2" must be in the root, so the sub-path in AppURL should be removed
* Fix incorrect CLI exit code and duplicate error message (#26346)wxiaoguang2023-08-051-0/+6
| | | Follow the CLI refactoring, and add tests.
* Use fetch to send requests to create issues/comments (#25258)wxiaoguang2023-06-161-1/+18
| | | | | | | | | | | | | | | | Follow #23290 Network error won't make content lost. And this is a much better approach than "loading-button". The UI is not perfect and there are still some TODOs, they can be done in following PRs, not a must in this PR's scope. <details> ![image](https://github.com/go-gitea/gitea/assets/2114189/c94ba958-aa46-4747-8ddf-6584deeed25c) </details>
* Fix admin config page error, use tests to cover the admin config and 500 ↵wxiaoguang2023-05-291-0/+5
| | | | | | | | | | error page (#24965) The admin config page has been broken for many many times, a little refactoring would make this page panic. So, add a test for it, and add another test to cover the 500 error page. Co-authored-by: Giteabot <teabot@gitea.io>
* Implement FSFE REUSE for golang files (#21840)flynnnnnnnnnn2022-11-271-2/+1
| | | | | | | | | Change all license headers to comply with REUSE specification. Fix #16132 Co-authored-by: flynnnnnnnnnn <flynnnnnnnnnn@github> Co-authored-by: John Olheiser <john.olheiser@gmail.com>
* Unit tests for routers/repo/issue_label (#3198)Ethan Koenig2017-12-151-0/+14