1
0
Fork 0
codeberg-forgejo/modules/test
Loïc Dachary 916ec9acab
[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)
(cherry picked from commit f9618b8896)

Conflicts:
	modules/test/utils.go
	https://codeberg.org/forgejo/forgejo/issues/1219
2023-08-21 07:22:17 +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-08-21 07:22:17 +02:00