aboutsummaryrefslogtreecommitdiffstats
path: root/models/fixtures
diff options
context:
space:
mode:
author6543 <6543@obermui.de>2020-04-30 06:15:39 +0200
committerGitHub <noreply@github.com>2020-04-30 01:15:39 -0300
commitbfda0f38646f66dbae2767eed3097489c456ebf5 (patch)
treeb3c915a6fb63215cd2c31c24bf4d7da332503565 /models/fixtures
parentcbf5dffaf29c1e871342c15478b33e9229a7f9d2 (diff)
downloadgitea-bfda0f38646f66dbae2767eed3097489c456ebf5.tar.gz
gitea-bfda0f38646f66dbae2767eed3097489c456ebf5.zip
[API] ListIssues add filter for milestones (#10148)
* Refactor Issue Filter Func * ListIssues add filter for milestones * as per @lafriks * documentation ...
Diffstat (limited to 'models/fixtures')
-rw-r--r--models/fixtures/issue.yml1
-rw-r--r--models/fixtures/milestone.yml2
2 files changed, 2 insertions, 1 deletions
diff --git a/models/fixtures/issue.yml b/models/fixtures/issue.yml
index e52a23a46b..39a96dc550 100644
--- a/models/fixtures/issue.yml
+++ b/models/fixtures/issue.yml
@@ -32,6 +32,7 @@
poster_id: 1
name: issue3
content: content for the third issue
+ milestone_id: 3
is_closed: false
is_pull: true
created_unix: 946684820
diff --git a/models/fixtures/milestone.yml b/models/fixtures/milestone.yml
index a9ecb4ee6a..b9894a1009 100644
--- a/models/fixtures/milestone.yml
+++ b/models/fixtures/milestone.yml
@@ -20,7 +20,7 @@
name: milestone3
content: content3
is_closed: true
- num_issues: 0
+ num_issues: 1
-
id: 4