Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Enable testifylint rules (#34075) | TheFox0x7 | 4 days | 1 | -1/+1 |
| | | | | enable testifylint rules disabled in: https://github.com/go-gitea/gitea/pull/34054 | ||||
* | Refactor tests (#33021) | wxiaoguang | 2024-12-29 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | 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 ... ``` | ||||
* | Move team related functions to service layer (#32537) | Lunny Xiao | 2024-11-27 | 1 | -0/+74 |
There are still some functions under `models` after last big refactor about `models`. This change will move all team related functions to service layer with no code change. |