0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo.git synced 2024-12-23 07:43:18 -05:00
forgejo/tests
Gusted 747be949a1
[MODERATION] Block adding collaborators
- Ensure that the doer and blocked user cannot add each other as
collaborators to repositories.
- The Web UI gets an detailed message of the specific situation, the API
gets an generic Forbidden code.
- Unit tests has been added.
- Integration testing for Web and API has been added.
- This commit doesn't introduce removing each other as collaborators on
the block action, due to the complexity of database calls that needs to
be figured out. That deserves its own commit and test code.
2023-07-21 12:51:42 +02:00
..
e2e Refactor web package and context package (#25298) 2023-06-18 09:59:09 +02:00
fuzz Move fuzz tests into tests/fuzz (#22376) 2023-01-09 15:30:14 +08:00
gitea-lfs-meta Test views of LFS files (#22196) 2022-12-23 07:41:56 +08:00
gitea-repositories-meta Fix bug of branches API with tests (#25578) 2023-07-01 10:52:52 +08:00
integration [MODERATION] Block adding collaborators 2023-07-21 12:51:42 +02:00
mssql.ini.tmpl [CI] set PASSWORD_HASH_ALGO = argon2 for integration tests 2023-07-16 23:15:13 +02:00
mysql.ini.tmpl [CI] set PASSWORD_HASH_ALGO = argon2 for integration tests 2023-07-16 23:15:13 +02:00
mysql8.ini.tmpl [CI] set PASSWORD_HASH_ALGO = argon2 for integration tests 2023-07-16 23:15:13 +02:00
pgsql.ini.tmpl [CI] tests/pgsql.ini.tmpl: do not use minio 2023-07-16 23:15:13 +02:00
sqlite.ini.tmpl [CI] set PASSWORD_HASH_ALGO = argon2 for integration tests 2023-07-16 23:15:13 +02:00
test_utils.go Replace interface{} with any (#25686) 2023-07-04 18:36:08 +00:00