forgejo/tests
Gusted b816bf9232 fix: ignore existence of commits for force pushes (#9262)
- Because we wish to show the status of the old and new commit of a force push, ignore that the commit doesn't exist and return a commit with only its ID filled. This is enough to still show the CI status of this commit although the commit itself is no longer reachable.
- Add unit test.
- Add integration test.
- Resolves forgejo/forgejo#9250

Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/9262
Reviewed-by: Earl Warren <earl-warren@noreply.codeberg.org>
Co-authored-by: Gusted <postmaster@gusted.xyz>
Co-committed-by: Gusted <postmaster@gusted.xyz>
2025-09-12 07:27:15 +02:00
..
e2e fix(ui): make unicode escape work in wiki (#8923) 2025-09-10 08:10:23 +02:00
fuzz chore: branding import path (#7337) 2025-03-27 19:40:14 +00:00
gitea-lfs-meta Test views of LFS files (#22196) 2022-12-23 07:41:56 +08:00
gitea-repositories-meta fix(ui): move file rename notice to before pagination (#8818) 2025-08-10 21:35:34 +02:00
integration fix: ignore existence of commits for force pushes (#9262) 2025-09-12 07:27:15 +02:00
testdata/data add model viewer for .glb (GLTF) model in file view (#8111) 2025-06-21 14:42:35 +02:00
mysql.ini.tmpl feat(log): better parseable and configurable ssh-logs (#9056) 2025-09-11 18:59:24 +02:00
pgsql.ini.tmpl feat(log): better parseable and configurable ssh-logs (#9056) 2025-09-11 18:59:24 +02:00
sqlite.ini.tmpl feat(log): better parseable and configurable ssh-logs (#9056) 2025-09-11 18:59:24 +02:00
test_utils.go fix(api): deactivate issue api for disabled or external issue-tracker (#8829) 2025-09-03 16:13:40 +02:00