summaryrefslogtreecommitdiffstats
path: root/models/fixtures/action.yml
diff options
context:
space:
mode:
authorMorgan Bazalgette <git@howl.moe>2017-02-11 11:57:57 +0100
committerLunny Xiao <xiaolunwen@gmail.com>2017-02-11 18:57:57 +0800
commit442145dbd348a18915de80faea68f30a9d9309b3 (patch)
tree4d1306edbfa72064ec006b73afd6d2150e507da6 /models/fixtures/action.yml
parenta36a8f4d72bd8d5161f29c2df177ae5a73fe882c (diff)
downloadgitea-442145dbd348a18915de80faea68f30a9d9309b3.tar.gz
gitea-442145dbd348a18915de80faea68f30a9d9309b3.zip
Fix public activity showing private repos (#892)
* Fix public activity showing private repos (#811) Signed-off-by: Morgan Bazalgette <the@howl.moe> * error check after setting is_private to true * Add test for UpdateRepository w/ visibility change
Diffstat (limited to 'models/fixtures/action.yml')
-rw-r--r--models/fixtures/action.yml11
1 files changed, 11 insertions, 0 deletions
diff --git a/models/fixtures/action.yml b/models/fixtures/action.yml
index f4f10dde2b..bf44837a1c 100644
--- a/models/fixtures/action.yml
+++ b/models/fixtures/action.yml
@@ -20,3 +20,14 @@
repo_name: repo3 # TODO old or new name?
is_private: false
content: oldRepoName
+
+-
+ id: 3
+ user_id: 11
+ op_type: 1 # create repo
+ act_user_id: 11
+ act_user_name: user11
+ repo_id: 9
+ repo_user_name: user11
+ repo_name: repo9
+ is_private: false