1
0
mirror of https://github.com/go-gitea/gitea synced 2024-11-14 01:35:54 +01:00
gitea/tests
KN4CK3R 1b630ff7cd
Fix user visible check (#21210)
Fixes #21206

If user and viewer are equal the method should return true.
Also the common organization check was wrong as `count` can never be
less then 0.

Co-authored-by: 6543 <6543@obermui.de>
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
2022-09-20 15:59:20 +08:00
..
e2e Remove fomantic image module (#21145) 2022-09-12 17:08:46 +08:00
gitea-repositories-meta Kd/ci playwright go test (#20123) 2022-09-02 15:18:23 -04:00
integration Fix user visible check (#21210) 2022-09-20 15:59:20 +08:00
mssql.ini.tmpl Kd/ci playwright go test (#20123) 2022-09-02 15:18:23 -04:00
mysql8.ini.tmpl Kd/ci playwright go test (#20123) 2022-09-02 15:18:23 -04:00
mysql.ini.tmpl Kd/ci playwright go test (#20123) 2022-09-02 15:18:23 -04:00
pgsql.ini.tmpl Kd/ci playwright go test (#20123) 2022-09-02 15:18:23 -04:00
sqlite.ini.tmpl Kd/ci playwright go test (#20123) 2022-09-02 15:18:23 -04:00
test_utils.go Kd/ci playwright go test (#20123) 2022-09-02 15:18:23 -04:00
testlogger.go Kd/ci playwright go test (#20123) 2022-09-02 15:18:23 -04:00