forgejo/models/unittest
JonRB 6208d5f5c2
unset XDG_HOME_CONFIG as gitea manages configuration locations (#33067)
unset XDG_CONFIG_HOME early to enable gitea to manage git configuration.
simple error checking to satisfy the linting. Closes #33039

---------

Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
(cherry picked from commit 233b7959e0518c47ef83c6a80c617546983433eb)
2025-01-05 13:46:19 +00:00
..
consistency.go Add testifylint to lint checks (#4535) 2024-07-30 19:41:10 +00:00
fixtures.go [CHORE] Remove Microsoft SQL Server Support 2024-04-05 23:37:36 +02:00
fscopy.go chore: simplify CopyDir 2024-11-10 17:21:57 +01:00
mock_http.go test: enable github migration tests 2024-11-05 10:37:28 +01:00
reflection.go Replace interface{} with any (#25686) 2023-07-04 18:36:08 +00:00
testdb.go unset XDG_HOME_CONFIG as gitea manages configuration locations (#33067) 2025-01-05 13:46:19 +00:00
unit_tests.go Add testifylint to lint checks (#4535) 2024-07-30 19:41:10 +00:00