forgejo-aneksajo/tests
Matthias Riße 989949b5cc Only upload to annex in doAnnexUploadTest (#46)
The previous implementation both uploaded to the annex and pushed to the
git repository. This meant that the tests checking that uploads without
permission fail actually could pass when the git push failed but the
git-annex upload didn't. The tests didn't catch the situation where
unauthorized users could modify the annex.

Reviewed-on: https://codeberg.org/matrss/forgejo-aneksajo/pulls/46
Co-authored-by: Matthias Riße <m.risse@fz-juelich.de>
Co-committed-by: Matthias Riße <m.risse@fz-juelich.de>
2025-01-27 10:44:01 +01:00
..
e2e Merge pull request '[v10.0/forgejo] Rework user profile settings' (#6423) from bp-v10.0/forgejo-2885ea8 into v10.0/forgejo 2024-12-30 21:20:51 +00:00
fuzz Rework markup link rendering (#26745) 2024-01-15 08:49:24 +00:00
gitea-lfs-meta Test views of LFS files (#22196) 2022-12-23 07:41:56 +08:00
gitea-repositories-meta [v10.0/forgejo] chore: remove illegal git usage (#6492) 2025-01-07 19:01:32 +00:00
integration Only upload to annex in doAnnexUploadTest (#46) 2025-01-27 10:44:01 +01:00
testdata/data Add artifacts test fixture (#30300) 2024-11-05 09:33:15 +01:00
mysql.ini.tmpl git-annex: add configuration setting [annex].ENABLED 2025-01-27 10:42:20 +01:00
pgsql.ini.tmpl git-annex: add configuration setting [annex].ENABLED 2025-01-27 10:42:20 +01:00
sqlite.ini.tmpl git-annex: add configuration setting [annex].ENABLED 2025-01-27 10:42:20 +01:00
test_utils.go Adapt patch to upstream changes 2025-01-27 10:42:20 +01:00