summaryrefslogtreecommitdiffstats
path: root/models/fixtures/repository.yml
diff options
context:
space:
mode:
authorBo-Yi Wu <appleboy.tw@gmail.com>2017-02-15 23:24:23 +0800
committerLunny Xiao <xiaolunwen@gmail.com>2017-02-15 23:24:23 +0800
commit43c94d0a6cd8daf01125df3bf895f1beb1bcd664 (patch)
tree06973f77f683d30f3efab45a5f2d9e5a9c9c7726 /models/fixtures/repository.yml
parenta31f64d639f32ee4ef428e76277eb0b0bf5616c4 (diff)
downloadgitea-43c94d0a6cd8daf01125df3bf895f1beb1bcd664.tar.gz
gitea-43c94d0a6cd8daf01125df3bf895f1beb1bcd664.zip
test: Add testing for GetUserFork function (#944)
Diffstat (limited to 'models/fixtures/repository.yml')
-rw-r--r--models/fixtures/repository.yml26
1 files changed, 26 insertions, 0 deletions
diff --git a/models/fixtures/repository.yml b/models/fixtures/repository.yml
index d50b88c301..873eb612c7 100644
--- a/models/fixtures/repository.yml
+++ b/models/fixtures/repository.yml
@@ -105,3 +105,29 @@
num_pulls: 0
num_closed_pulls: 0
is_mirror: false
+
+-
+ id: 10
+ owner_id: 12
+ lower_name: repo10
+ name: repo10
+ is_private: false
+ num_issues: 0
+ num_closed_issues: 0
+ num_pulls: 0
+ num_closed_pulls: 0
+ is_mirror: false
+ num_forks: 1
+
+-
+ id: 11
+ fork_id: 10
+ owner_id: 13
+ lower_name: repo11
+ name: repo11
+ is_private: false
+ num_issues: 0
+ num_closed_issues: 0
+ num_pulls: 0
+ num_closed_pulls: 0
+ is_mirror: false