1
0
mirror of https://github.com/go-gitea/gitea.git synced 2025-01-19 14:03:40 +03:00
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
..
2024-12-24 13:47:45 +00:00
2024-12-24 13:47:45 +00:00
2023-12-19 09:29:05 +00:00
2024-12-24 13:47:45 +00:00
2024-12-29 01:05:56 +00:00
2024-11-05 06:35:54 +00:00
2024-12-25 00:51:13 +08:00