gitea/models/activities
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
..
action_list.go Move GetFeeds to service layer (#32526) 2024-11-29 17:53:49 +00:00
action_test.go Move GetFeeds to service layer (#32526) 2024-11-29 17:53:49 +00:00
action.go Refactor "string truncate" (#32984) 2024-12-26 11:56:03 +08:00
main_test.go
notification_list.go
notification_test.go
notification.go Perf: add extra index to notification table (#32395) 2024-11-13 18:17:54 +00:00
repo_activity.go Fix bug on activities (#33008) 2024-12-28 04:04:07 +00:00
statistic.go Rename project board -> column to make the UI less confusing (#30170) 2024-05-27 08:59:54 +00:00
user_heatmap_test.go Refactor tests (#33021) 2024-12-29 01:05:56 +00:00
user_heatmap.go Move GetFeeds to service layer (#32526) 2024-11-29 17:53:49 +00:00