1
0
mirror of https://github.com/go-gitea/gitea.git synced 2025-01-06 17:17:44 +03:00
gitea/routers
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
..
api Refactor arch route handlers (#32993) 2024-12-28 03:31:46 +00:00
common Refactor tmpl and blob_excerpt (#32967) 2024-12-25 00:51:13 +08:00
install Refactor request context (#32956) 2024-12-24 11:43:57 +08:00
private Clarify path param naming (#32969) 2024-12-24 13:47:45 +00:00
utils Refactor external URL detection (#29973) 2024-03-22 04:32:40 +08:00
web Refactor tests (#33021) 2024-12-29 01:05:56 +00:00
init.go Add sub issue list support (#32940) 2024-12-24 01:54:19 +00:00