mirror of
1
Fork 0
forgejo/models/issues
Nanguan Lin 2f8e1604f8
Fix review request number and add more tests ()
fix  
## testfixture yml
1. add issue20(a pr issue) in repo 23, org 17
2. add user15 to team 9
3. add four reviews about issue20
## test case
add two tests that are described with code comments
the code before pr  failed the first test
<img width="479" alt="image"
src="https://github.com/go-gitea/gitea/assets/70063547/1d9b5787-11b4-4c4d-931f-6a9869547f35">
current code failed the second test(as mentioned in )
<img width="484" alt="image"
src="https://github.com/go-gitea/gitea/assets/70063547/05608055-7587-43d1-bae1-92c688270819">
Any advice is appreciated.

---------

Co-authored-by: CaiCandong <50507092+CaiCandong@users.noreply.github.com>
Co-authored-by: Giteabot <teabot@gitea.io>
2023-09-21 13:59:50 +02:00
..
assignees.go
assignees_test.go
comment.go
comment_code.go
comment_list.go
comment_test.go
content_history.go
content_history_test.go
dependency.go
dependency_test.go refactor some functions to support ctx as first parameter () 2022-12-03 10:48:26 +08:00
issue.go
issue_index.go Implement FSFE REUSE for golang files () 2022-11-27 18:20:29 +00:00
issue_label.go
issue_list.go
issue_list_test.go
issue_lock.go
issue_project.go
issue_search.go Fix review request number and add more tests () 2023-09-21 13:59:50 +02:00
issue_stats.go
issue_test.go Fix review request number and add more tests () 2023-09-21 13:59:50 +02:00
issue_update.go
issue_user.go
issue_user_test.go
issue_watch.go
issue_watch_test.go
issue_xref.go
issue_xref_test.go
label.go
label_test.go
main_test.go
milestone.go
milestone_list.go Next round of `db.DefaultContext` refactor () 2023-09-16 14:39:12 +00:00
milestone_test.go
pull.go
pull_list.go
pull_test.go
reaction.go
reaction_test.go
review.go
review_list.go
review_test.go
stopwatch.go
stopwatch_test.go
tracked_time.go Add context parameter to some database functions () 2023-07-22 22:14:27 +08:00
tracked_time_test.go