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/user.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/user.yml')
-rw-r--r-- | models/fixtures/user.yml | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/models/fixtures/user.yml b/models/fixtures/user.yml index 568f367290..337fb54590 100644 --- a/models/fixtures/user.yml +++ b/models/fixtures/user.yml @@ -149,3 +149,18 @@ avatar_email: user10@example.com num_repos: 3 is_active: true + +- + id: 11 + lower_name: user11 + name: user11 + full_name: User Eleven + email: user11@example.com + passwd: password + type: 0 # individual + salt: salt + is_admin: false + avatar: avatar11 + avatar_email: user11@example.com + num_repos: 1 + is_active: true |