0
0
Fork 0
mirror of https://github.com/go-gitea/gitea synced 2024-10-30 10:49:09 +01:00
gitea/routers/install
wxiaoguang abcf5a7b5e
Fix install page context, make the install page tests really test (#24858)
Fix #24856

Rename "context.contextKey" to "context.WebContextKey", this context is
for web context only. But the Context itself is not renamed, otherwise
it would cause a lot of changes (if we really want to rename it, there
could be a separate PR).

The old test code doesn't really test, the "install page" gets broken
not only one time, so use new test code to make sure the "install page"
could work.
2023-05-23 09:29:15 +08:00
..
install.go Fix install page context, make the install page tests really test (#24858) 2023-05-23 09:29:15 +08:00
routes.go Fix install page context, make the install page tests really test (#24858) 2023-05-23 09:29:15 +08:00
routes_test.go Fix install page context, make the install page tests really test (#24858) 2023-05-23 09:29:15 +08:00
setting.go Merge setting.InitXXX into one function with options (#24389) 2023-05-04 11:55:35 +08:00