jojo/tests/integration/fixtures/TestAdminModerationViewReports/issue.yml
floss4good a93fa287f4 fix: make sure the details page is still rendered correctly even if the poster of reported comment was deleted (#10199)
When opening the report details page of a reported comment who's poster was meanwhile deleted, the title was wrongly saying that _Reported content with type 4 and id ... no longer exists_ (on the overview page the title was correctly showing the content reference). This PR fixes the issue and adds some tests for this case.

Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/10199
Reviewed-by: Gusted <gusted@noreply.codeberg.org>
Co-authored-by: floss4good <floss4good@disroot.org>
Co-committed-by: floss4good <floss4good@disroot.org>
2025-11-21 23:04:09 +01:00

23 lines
569 B
YAML

-
id: 1001
repo_id: 1001 # contributor/first
index: 1
poster_id: 1001
name: first repo should have a first issue
content: so here we go
is_closed: false
is_pull: false
num_comments: 2
created_unix: 1121422320 # 2005-07-15 10:12:00
-
id: 1002
repo_id: 1002 # SPAM-services/spammer-tools
index: 1
poster_id: 1002
name: Professional marketing services
content: Visit my website at spammer.xyz/services for a list of available services.
is_closed: false
is_pull: false
num_comments: 0
created_unix: 1121422980 # 2005-07-15 10:23:00