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

(cherry picked from commit 9c78752444)
(cherry picked from commit d7795d7b25)
(cherry picked from commit d0ffbd112c)
(cherry picked from commit f3e62a57bf)
2023-08-01 08:24:56 +02:00
..
context_tests.go Replace interface{} with any (#25686) 2023-07-04 18:36:08 +00: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-08-01 08:24:56 +02:00