summaryrefslogtreecommitdiffstats
path: root/models/fixtures/repository.yml
diff options
context:
space:
mode:
authorEthan Koenig <ethantkoenig@gmail.com>2017-01-01 13:15:09 -0500
committerEthan Koenig <ethantkoenig@gmail.com>2017-01-06 10:08:23 -0500
commit72bfabfada8fc485b88eb4547b7d3575789a69c8 (patch)
tree838a128004ac7e3417816171c1f3e60b98edcd57 /models/fixtures/repository.yml
parent1a7fc53c98f06f79955d217f91c8a5553e5a27b3 (diff)
downloadgitea-72bfabfada8fc485b88eb4547b7d3575789a69c8.tar.gz
gitea-72bfabfada8fc485b88eb4547b7d3575789a69c8.zip
Unit tests for models/pull.go
Diffstat (limited to 'models/fixtures/repository.yml')
-rw-r--r--models/fixtures/repository.yml21
1 files changed, 21 insertions, 0 deletions
diff --git a/models/fixtures/repository.yml b/models/fixtures/repository.yml
new file mode 100644
index 0000000000..21d9184d13
--- /dev/null
+++ b/models/fixtures/repository.yml
@@ -0,0 +1,21 @@
+-
+ id: 1
+ owner_id: 2
+ lower_name: repo1
+ name: repo1
+ is_private: false
+ num_issues: 1
+ num_closed_issues: 0
+ num_pulls: 2
+ num_closed_pulls: 0
+
+-
+ id: 2
+ owner_id: 2
+ lower_name: repo2
+ name: repo2
+ is_private: true
+ num_issues: 1
+ num_closed_issues: 1
+ num_pulls: 0
+ num_closed_pulls: 0