You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
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
...
```
1 month ago
..
action.go Refactor "string truncate" (#32984) 1 month ago
action_list.go Move GetFeeds to service layer (#32526) 2 months ago
action_test.go Move GetFeeds to service layer (#32526) 2 months ago
main_test.go make writing main test easier (#27270) 1 year ago
notification.go Perf: add extra index to notification table (#32395) 3 months ago
notification_list.go Refactor more filterslice (#30370) 10 months ago
notification_test.go Use db.Find instead of writing methods for every object (#28084) 1 year ago
repo_activity.go Fix bug on activities (#33008) 1 month ago
statistic.go Rename project board -> column to make the UI less confusing (#30170) 8 months ago
user_heatmap.go Move GetFeeds to service layer (#32526) 2 months ago
user_heatmap_test.go Refactor tests (#33021) 1 month ago