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

(cherry picked from commit 9c78752444)
(cherry picked from commit 8ab559df0d)
(cherry picked from commit 2e7fe1ec95)
(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