summaryrefslogtreecommitdiffstats
path: root/models/fixtures/label.yml
diff options
context:
space:
mode:
authorEthan Koenig <etk39@cornell.edu>2017-01-31 20:31:35 -0500
committerLunny Xiao <xiaolunwen@gmail.com>2017-02-01 09:31:35 +0800
commit10644d6dd7574b031118bf01b2bd737017230ffd (patch)
tree42f4fa34184145defb2237a78306c6da3c1ed3bd /models/fixtures/label.yml
parent0a02fb3c4fc241aca54e4ec62e4029e6db3be3f9 (diff)
downloadgitea-10644d6dd7574b031118bf01b2bd737017230ffd.tar.gz
gitea-10644d6dd7574b031118bf01b2bd737017230ffd.zip
Bug fixes and unit tests for models/issue_label (#802)
Diffstat (limited to 'models/fixtures/label.yml')
-rw-r--r--models/fixtures/label.yml15
1 files changed, 15 insertions, 0 deletions
diff --git a/models/fixtures/label.yml b/models/fixtures/label.yml
new file mode 100644
index 0000000000..5336342b1c
--- /dev/null
+++ b/models/fixtures/label.yml
@@ -0,0 +1,15 @@
+-
+ id: 1
+ repo_id: 1
+ name: label1
+ color: '#abcdef'
+ num_issues: 2
+ num_closed_issues: 0
+
+-
+ id: 2
+ repo_id: 1
+ name: label2
+ color: '#000000'
+ num_issues: 1
+ num_closed_issues: 1