diff options
author | Andrey Nering <andrey.nering@gmail.com> | 2017-01-06 19:19:18 -0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-01-06 19:19:18 -0200 |
commit | 03b45284e1845f81d996c7f1cb059e8a8eebfe29 (patch) | |
tree | dc80ceec2706ee96bcb4b3403166d289ace58868 /models/fixtures/issue.yml | |
parent | 84b7d29d34e0d51e0c67e2e35803e8e611da7965 (diff) | |
parent | 72bfabfada8fc485b88eb4547b7d3575789a69c8 (diff) | |
download | gitea-03b45284e1845f81d996c7f1cb059e8a8eebfe29.tar.gz gitea-03b45284e1845f81d996c7f1cb059e8a8eebfe29.zip |
Merge pull request #555 from ethantkoenig/tests/pull
Unit tests for models/pull.go
Diffstat (limited to 'models/fixtures/issue.yml')
-rw-r--r-- | models/fixtures/issue.yml | 46 |
1 files changed, 46 insertions, 0 deletions
diff --git a/models/fixtures/issue.yml b/models/fixtures/issue.yml new file mode 100644 index 0000000000..dbd435939a --- /dev/null +++ b/models/fixtures/issue.yml @@ -0,0 +1,46 @@ +- + id: 1 + repo_id: 1 + index: 1 + poster_id: 1 + name: issue1 + content: content1 + is_closed: false + is_pull: false + created_unix: 946684800 + updated_unix: 978307200 + +- + id: 2 + repo_id: 1 + index: 2 + poster_id: 1 + name: issue2 + content: content2 + is_closed: false + is_pull: true + created_unix: 946684810 + updated_unix: 978307190 + + +- + id: 3 + repo_id: 1 + index: 3 + poster_id: 1 + name: issue3 + content: content4 + is_closed: false + is_pull: true + created_unix: 946684820 + updated_unix: 978307180 + +- + id: 4 + repo_id: 2 + index: 1 + poster_id: 2 + name: issue4 + content: content4 + is_closed: true + is_pull: false |