1
1
mirror of https://github.com/go-gitea/gitea.git synced 2026-03-07 17:56:23 +01:00
gitea/models/unittest
silverwind 5e9b9b33d1
Clean up Makefile, tests and legacy code (#36638)
This simplifies the Makefile by removing the whole-file wrapping that
creates a tempdir introduced by
https://github.com/go-gitea/gitea/pull/11126. REPO_TEST_DIR is removed
as well.

Also clean up a lot of legacy code: unnecessary XSS test, incorrect test
env init, unused "_old_uid" hack, etc

Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
2026-02-19 01:23:32 +00:00
..
consistency.go Refactor db package (#35380) 2025-08-30 01:04:06 +08:00
fixtures_loader.go Enable nilnil linter for new code (#36591) 2026-02-16 09:57:18 +00:00
fixtures_test.go Clean up Makefile, tests and legacy code (#36638) 2026-02-19 01:23:32 +00:00
fixtures.go Remove incorrect "db.DefaultContext" usages (#35366) 2025-08-28 03:52:43 +00:00
fscopy.go Clean up Makefile, tests and legacy code (#36638) 2026-02-19 01:23:32 +00:00
reflection.go Refactor tests (#33021) 2024-12-29 01:05:56 +00:00
testdb.go Clean up Makefile, tests and legacy code (#36638) 2026-02-19 01:23:32 +00:00
unit_tests.go Refactor db package (#35380) 2025-08-30 01:04:06 +08:00