1
1
mirror of https://github.com/go-gitea/gitea synced 2025-01-05 15:34:25 +00:00
gitea/routers/web
wxiaoguang 0ed160ffea
Refactor tests (#33021)
1. fix incorrect tests, for example: BeanExists doesn't do assert and
shouldn't be used
2. remove unnecessary test functions
3. introduce DumpQueryResult to help to see the database rows during
test (at least I need it)

```
====== DumpQueryResult: SELECT * FROM action_runner_token ======
- # row[0]
  id: 1
  token: xeiWBL5kuTYxGPynHCqQdoeYmJAeG3IzGXCYTrDX
  owner_id: 0
...
```
2024-12-29 01:05:56 +00:00
..
admin Clarify path param naming (#32969) 2024-12-24 13:47:45 +00:00
auth Support for email addresses containing uppercase characters when activating user account (#32998) 2024-12-27 19:16:23 +08:00
devtest De-emphasize signed commits (#31160) 2024-12-28 04:18:30 +08:00
events Move context from modules to services (#29440) 2024-02-27 08:12:22 +01:00
explore Refactor template & test related code (#32938) 2024-12-22 15:33:19 +00:00
feed Clarify path param naming (#32969) 2024-12-24 13:47:45 +00:00
healthcheck Always enable caches (#28527) 2023-12-19 09:29:05 +00:00
misc Refactor template & test related code (#32938) 2024-12-22 15:33:19 +00:00
org Clarify path param naming (#32969) 2024-12-24 13:47:45 +00:00
repo Refactor tests (#33021) 2024-12-29 01:05:56 +00:00
shared Add show more organizations icon in user's profile (#32986) 2024-12-27 02:49:50 +08:00
user Add show more organizations icon in user's profile (#32986) 2024-12-27 02:49:50 +08:00
base.go Fix missing signature key error when pulling Docker images with SERVE_DIRECT enabled (#32365) 2024-10-31 15:28:25 +00:00
githttp.go Fix LFS route mock, realm, middleware names (#32488) 2024-11-13 16:58:09 +08:00
goget.go Refactor RepoRefByType (#32413) 2024-11-05 06:35:54 +00:00
home.go Refactor template & test related code (#32938) 2024-12-22 15:33:19 +00:00
metrics.go Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +00:00
nodeinfo.go Move context from modules to services (#29440) 2024-02-27 08:12:22 +01:00
passkey.go Move context from modules to services (#29440) 2024-02-27 08:12:22 +01:00
swagger_json.go Move context from modules to services (#29440) 2024-02-27 08:12:22 +01:00
web.go Refactor tmpl and blob_excerpt (#32967) 2024-12-25 00:51:13 +08:00
webfinger.go Move context from modules to services (#29440) 2024-02-27 08:12:22 +01:00