1
1
mirror of https://github.com/go-gitea/gitea synced 2025-07-29 05:38:37 +00:00

Bug fixes and unit tests for models/issue_label (#802)

This commit is contained in:
Ethan Koenig
2017-01-31 20:31:35 -05:00
committed by Lunny Xiao
parent 0a02fb3c4f
commit 10644d6dd7
8 changed files with 301 additions and 14 deletions

15
models/fixtures/label.yml Normal file
View File

@@ -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