summaryrefslogtreecommitdiffstats
path: root/models/fixtures/collaboration.yml
diff options
context:
space:
mode:
authorEthan Koenig <etk39@cornell.edu>2017-01-07 22:10:53 -0500
committerLunny Xiao <xiaolunwen@gmail.com>2017-01-08 11:10:53 +0800
commit6072b032918006824f260e79f96372dd94fbb17f (patch)
tree16e9ee4c0f0550ec55dd2463496649d44e2dfe99 /models/fixtures/collaboration.yml
parent8422ab542c69592b4629188d4460ca560307465b (diff)
downloadgitea-6072b032918006824f260e79f96372dd94fbb17f.tar.gz
gitea-6072b032918006824f260e79f96372dd94fbb17f.zip
Unit tests for models/access.go (#606)
Diffstat (limited to 'models/fixtures/collaboration.yml')
-rw-r--r--models/fixtures/collaboration.yml11
1 files changed, 11 insertions, 0 deletions
diff --git a/models/fixtures/collaboration.yml b/models/fixtures/collaboration.yml
new file mode 100644
index 0000000000..18db9c36c5
--- /dev/null
+++ b/models/fixtures/collaboration.yml
@@ -0,0 +1,11 @@
+-
+ id: 1
+ repo_id: 3
+ user_id: 2
+ mode: 2 # write
+
+-
+ id: 2
+ repo_id: 4
+ user_id: 4
+ mode: 2 # write