diff options
author | wxiaoguang <wxiaoguang@gmail.com> | 2024-12-29 09:05:56 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-12-29 01:05:56 +0000 |
commit | 0ed160ffea91ac1903bd33866fa93c24e3ace65c (patch) | |
tree | 166f0c1c7bbb6e3605c8f06f834a92869bf206bd /web_src/js/features/tablesort.ts | |
parent | e95b946f6d763afdb2b68e1f5d7c8b3e518d1986 (diff) | |
download | gitea-0ed160ffea91ac1903bd33866fa93c24e3ace65c.tar.gz gitea-0ed160ffea91ac1903bd33866fa93c24e3ace65c.zip |
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
...
```
Diffstat (limited to 'web_src/js/features/tablesort.ts')
0 files changed, 0 insertions, 0 deletions