aboutsummaryrefslogtreecommitdiffstats
path: root/models
diff options
context:
space:
mode:
Diffstat (limited to 'models')
-rw-r--r--models/fixtures/label.yml8
-rw-r--r--models/fixtures/milestone.yml8
-rw-r--r--models/fixtures/repository.yml3
3 files changed, 18 insertions, 1 deletions
diff --git a/models/fixtures/label.yml b/models/fixtures/label.yml
index 3ad82eebed..1b7ce74681 100644
--- a/models/fixtures/label.yml
+++ b/models/fixtures/label.yml
@@ -33,3 +33,11 @@
num_issues: 1
num_closed_issues: 0
+-
+ id: 5
+ repo_id: 10
+ org_id: 0
+ name: pull-test-label
+ color: '#000000'
+ num_issues: 0
+ num_closed_issues: 0
diff --git a/models/fixtures/milestone.yml b/models/fixtures/milestone.yml
index b9894a1009..2cd994e63a 100644
--- a/models/fixtures/milestone.yml
+++ b/models/fixtures/milestone.yml
@@ -29,3 +29,11 @@
content: content random
is_closed: false
num_issues: 0
+
+-
+ id: 5
+ repo_id: 10
+ name: milestone of repo 10
+ content: for testing with PRs
+ is_closed: false
+ num_issues: 0
diff --git a/models/fixtures/repository.yml b/models/fixtures/repository.yml
index 952408b0c2..492040316c 100644
--- a/models/fixtures/repository.yml
+++ b/models/fixtures/repository.yml
@@ -148,6 +148,7 @@
num_closed_issues: 0
num_pulls: 1
num_closed_pulls: 0
+ num_milestones: 1
is_mirror: false
num_forks: 1
status: 0
@@ -734,4 +735,4 @@
num_watches: 0
num_projects: 0
num_closed_projects: 0
- status: 0 \ No newline at end of file
+ status: 0