Skip to content

Commit

Permalink
Unit tests for issue_milestone (go-gitea#878)
Browse files Browse the repository at this point in the history
  • Loading branch information
ethantkoenig authored and lunny committed Feb 9, 2017
1 parent 1da7dd3 commit a6751ce
Show file tree
Hide file tree
Showing 6 changed files with 609 additions and 366 deletions.
1 change: 1 addition & 0 deletions models/fixtures/issue.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
poster_id: 1
name: issue2
content: content2
milestone_id: 1
is_closed: false
is_pull: true
created_unix: 946684810
Expand Down
15 changes: 15 additions & 0 deletions models/fixtures/milestone.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
-
id: 1
repo_id: 1
name: milestone1
content: content1
is_closed: false
num_issues: 1

-
id: 2
repo_id: 1
name: milestone2
content: content2
is_closed: false
num_issues: 0
1 change: 1 addition & 0 deletions models/fixtures/repository.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
num_closed_issues: 1
num_pulls: 2
num_closed_pulls: 0
num_milestones: 2
num_watches: 2

-
Expand Down
Loading

0 comments on commit a6751ce

Please sign in to comment.