gitea/models/unittest
JonRB 233b7959e0
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>
2025-01-02 06:37:35 +08:00
..
consistency.go Replace assert.Fail with assert.FailNow (#27578) 2023-10-11 11:02:24 +00:00
fixtures_loader.go Refactor fixture loading for testing (#33024) 2024-12-30 04:06:57 +00:00
fixtures_test.go Refactor fixture loading for testing (#33024) 2024-12-30 04:06:57 +00:00
fixtures.go Refactor fixture loading for testing (#33024) 2024-12-30 04:06:57 +00:00
fscopy.go Fix unittest and repo create bug (#33061) 2024-12-31 18:45:05 +08:00
reflection.go Refactor tests (#33021) 2024-12-29 01:05:56 +00:00
testdb.go unset XDG_HOME_CONFIG as gitea manages configuration locations (#33067) 2025-01-02 06:37:35 +08:00
unit_tests.go Refactor tests (#33021) 2024-12-29 01:05:56 +00:00