forgejo-aneksajo/tests
Matthias Riße 90fea4b901 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-03-24 09:06:59 +01:00
..
e2e [v10.0/forgejo] fix(ui): hide extra PR property labels on title edit (#6905) 2025-02-12 09:05:43 +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-03-24 09:06:59 +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-03-24 09:02:03 +01:00
pgsql.ini.tmpl git-annex: add configuration setting [annex].ENABLED 2025-03-24 09:02:03 +01:00
sqlite.ini.tmpl git-annex: add configuration setting [annex].ENABLED 2025-03-24 09:02:03 +01:00
test_utils.go Adapt patch to upstream changes 2025-03-24 09:02:03 +01:00