mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-11-23 13:55:27 +00:00
71ca131582
- Don't use hacky solution to limit to the correct RepoID's, instead use current code to handle these limits. The existing code is more correct than the hacky solution. - Resolves #19636 - Add test-case
211 lines
3.4 KiB
YAML
211 lines
3.4 KiB
YAML
-
|
|
id: 1
|
|
repo_id: 1
|
|
index: 1
|
|
poster_id: 1
|
|
name: issue1
|
|
content: content for the first issue
|
|
is_closed: false
|
|
is_pull: false
|
|
num_comments: 2
|
|
created_unix: 946684800
|
|
updated_unix: 978307200
|
|
|
|
-
|
|
id: 2
|
|
repo_id: 1
|
|
index: 2
|
|
poster_id: 1
|
|
name: issue2
|
|
content: content for the second issue
|
|
milestone_id: 1
|
|
is_closed: false
|
|
is_pull: true
|
|
created_unix: 946684810
|
|
updated_unix: 978307190
|
|
|
|
|
|
-
|
|
id: 3
|
|
repo_id: 1
|
|
index: 3
|
|
poster_id: 1
|
|
name: issue3
|
|
content: content for the third issue
|
|
milestone_id: 3
|
|
is_closed: false
|
|
is_pull: true
|
|
created_unix: 946684820
|
|
updated_unix: 978307180
|
|
|
|
-
|
|
id: 4
|
|
repo_id: 2
|
|
index: 1
|
|
poster_id: 2
|
|
name: issue4
|
|
content: content for the fourth issue
|
|
is_closed: true
|
|
is_pull: false
|
|
created_unix: 946684830
|
|
updated_unix: 978307200
|
|
|
|
-
|
|
id: 5
|
|
repo_id: 1
|
|
index: 4
|
|
poster_id: 2
|
|
name: issue5
|
|
content: content for the fifth issue
|
|
is_closed: true
|
|
is_pull: false
|
|
created_unix: 946684840
|
|
updated_unix: 978307200
|
|
|
|
-
|
|
id: 6
|
|
repo_id: 3
|
|
index: 1
|
|
poster_id: 1
|
|
name: issue6
|
|
content: content6
|
|
is_closed: false
|
|
is_pull: false
|
|
num_comments: 0
|
|
created_unix: 946684850
|
|
updated_unix: 978307200
|
|
|
|
-
|
|
id: 7
|
|
repo_id: 2
|
|
index: 2
|
|
poster_id: 2
|
|
name: issue7
|
|
content: content for the seventh issue
|
|
is_closed: false
|
|
is_pull: false
|
|
created_unix: 946684830
|
|
updated_unix: 978307200
|
|
|
|
-
|
|
id: 8
|
|
repo_id: 10
|
|
index: 1
|
|
poster_id: 11
|
|
name: pr2
|
|
content: a pull request
|
|
is_closed: false
|
|
is_pull: true
|
|
created_unix: 946684820
|
|
updated_unix: 978307180
|
|
|
|
-
|
|
id: 9
|
|
repo_id: 48
|
|
index: 1
|
|
poster_id: 11
|
|
name: pr1
|
|
content: a pull request
|
|
is_closed: false
|
|
is_pull: true
|
|
created_unix: 946684820
|
|
updated_unix: 978307180
|
|
|
|
-
|
|
id: 10
|
|
repo_id: 42
|
|
index: 1
|
|
poster_id: 500
|
|
name: issue from deleted account
|
|
content: content from deleted account
|
|
is_closed: false
|
|
is_pull: false
|
|
created_unix: 946684830
|
|
updated_unix: 999307200
|
|
deadline_unix: 1019307200
|
|
|
|
-
|
|
id: 11
|
|
repo_id: 1
|
|
index: 5
|
|
poster_id: 1
|
|
name: pull5
|
|
content: content for the a pull request
|
|
is_closed: false
|
|
is_pull: true
|
|
created_unix: 1579194806
|
|
updated_unix: 1579194806
|
|
|
|
-
|
|
id: 12
|
|
repo_id: 3
|
|
index: 2
|
|
poster_id: 2
|
|
name: pull6
|
|
content: content for the a pull request
|
|
is_closed: false
|
|
is_pull: true
|
|
created_unix: 1602935696
|
|
updated_unix: 1602935696
|
|
|
|
|
|
-
|
|
id: 13
|
|
repo_id: 50
|
|
index: 1
|
|
poster_id: 2
|
|
name: issue in active repo
|
|
content: we'll be testing github issue 13171 with this.
|
|
is_closed: false
|
|
is_pull: false
|
|
created_unix: 1602935696
|
|
updated_unix: 1602935696
|
|
|
|
-
|
|
id: 14
|
|
repo_id: 51
|
|
index: 1
|
|
poster_id: 2
|
|
name: issue in archived repo
|
|
content: we'll be testing github issue 13171 with this.
|
|
is_closed: false
|
|
is_pull: false
|
|
created_unix: 1602935696
|
|
updated_unix: 1602935696
|
|
|
|
-
|
|
id: 15
|
|
repo_id: 5
|
|
index: 1
|
|
poster_id: 2
|
|
name: issue in repo not linked to team1
|
|
content: content
|
|
is_closed: false
|
|
is_pull: false
|
|
created_unix: 1602935696
|
|
updated_unix: 1602935696
|
|
|
|
-
|
|
id: 16
|
|
repo_id: 32
|
|
index: 1
|
|
poster_id: 2
|
|
name: just a normal issue
|
|
content: content
|
|
is_closed: false
|
|
is_pull: false
|
|
created_unix: 1602935696
|
|
updated_unix: 1602935696
|
|
|
|
-
|
|
id: 17
|
|
repo_id: 32
|
|
index: 2
|
|
poster_id: 15
|
|
name: a issue with a assignment
|
|
content: content
|
|
is_closed: false
|
|
is_pull: false
|
|
created_unix: 1602935696
|
|
updated_unix: 1602935696
|