diff options
author | Morgan Bazalgette <git@howl.moe> | 2017-02-11 11:57:57 +0100 |
---|---|---|
committer | Lunny Xiao <xiaolunwen@gmail.com> | 2017-02-11 18:57:57 +0800 |
commit | 442145dbd348a18915de80faea68f30a9d9309b3 (patch) | |
tree | 4d1306edbfa72064ec006b73afd6d2150e507da6 /models/fixtures/repository.yml | |
parent | a36a8f4d72bd8d5161f29c2df177ae5a73fe882c (diff) | |
download | gitea-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/repository.yml')
-rw-r--r-- | models/fixtures/repository.yml | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/models/fixtures/repository.yml b/models/fixtures/repository.yml index 93463c0855..d50b88c301 100644 --- a/models/fixtures/repository.yml +++ b/models/fixtures/repository.yml @@ -93,3 +93,15 @@ num_pulls: 0 num_closed_pulls: 0 is_mirror: false + +- + id: 9 + owner_id: 11 + lower_name: repo9 + name: repo9 + is_private: false + num_issues: 0 + num_closed_issues: 0 + num_pulls: 0 + num_closed_pulls: 0 + is_mirror: false |