Template
1
0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo synced 2024-11-25 11:16:11 +01:00
forgejo/modules/test
wxiaoguang 412e5c0946
Make web context initialize correctly for different cases (#26726)
The web context (modules/context.Context) is quite complex, it's
difficult for the callers to initialize correctly.

This PR introduces a `NewWebContext` function, to make sure the web
context have the same behavior for different cases.
2023-08-25 19:07:42 +08:00
..
context_tests.go Make web context initialize correctly for different cases (#26726) 2023-08-25 19:07:42 +08: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 Fix incorrect CLI exit code and duplicate error message (#26346) 2023-08-05 23:36:45 +08:00