diff options
author | Ethan Koenig <ethantkoenig@gmail.com> | 2017-01-01 13:15:09 -0500 |
---|---|---|
committer | Ethan Koenig <ethantkoenig@gmail.com> | 2017-01-06 10:08:23 -0500 |
commit | 72bfabfada8fc485b88eb4547b7d3575789a69c8 (patch) | |
tree | 838a128004ac7e3417816171c1f3e60b98edcd57 /models/fixtures/issue.yml | |
parent | 1a7fc53c98f06f79955d217f91c8a5553e5a27b3 (diff) | |
download | gitea-72bfabfada8fc485b88eb4547b7d3575789a69c8.tar.gz gitea-72bfabfada8fc485b88eb4547b7d3575789a69c8.zip |
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 |