forgejo/modules/test
Loïc Dachary f9618b8896
[TESTS] MockVariable temporarily replaces a global value
defer test.MockVariable(&variable, 1234)()

(cherry picked from commit 9c78752444c2411f20e72b96b7b4fdf5359099d5)
(cherry picked from commit 8ab559df0d57a17a0ea73bd3676f40a523a15ab6)
(cherry picked from commit 2e7fe1ec9566e4840992e4049d8349873b7334ee)
2023-07-16 23:21:44 +02:00
..
context_tests.go Replace interface{} with any (#25686) (#25687) 2023-07-04 23:41:32 -04:00
logchecker.go Rewrite logger system (#24726) 2023-05-21 22:35:11 +00:00
logchecker_test.go Rewrite logger system (#24726) 2023-05-21 22:35:11 +00:00
utils.go [TESTS] MockVariable temporarily replaces a global value 2023-07-16 23:21:44 +02:00