0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo.git synced 2025-01-03 13:10:24 -05:00
forgejo/tests
Earl Warren bad8e72bcd
tests(integration): add TestPullMergeBranchProtect
Verify variations of branch protection that are in play when merging a
pull request as:

* instance admin
* repository admin / owner
* user with write permissions on the repository

In all cases the result is expected to be the same when merging
the pull request via:

* API
* web

Although the implementations are different.

(cherry picked from commit 793421bf59)

Conflicts:
	tests/integration/pull_merge_test.go
	trivial context conflict
2024-06-02 22:05:08 +02:00
..
e2e Fixes that the settings button moves in the overflow menu 2024-04-29 10:54:39 +00:00
fuzz
gitea-lfs-meta
gitea-repositories-meta tests(integration): add TestPullMergeBranchProtect 2024-06-02 22:05:08 +02:00
integration tests(integration): add TestPullMergeBranchProtect 2024-06-02 22:05:08 +02:00
testdata/data/attachments/a/0
mssql.ini.tmpl
mysql.ini.tmpl
pgsql.ini.tmpl
sqlite.ini.tmpl
test_utils.go fix(tests): 30s to cancel processes to avoid false negatives 2024-04-19 17:04:53 +02:00