mirror of
https://github.com/go-gitea/gitea
synced 2025-07-21 09:48:37 +00:00
Refactor head navbar icons (#34922)
Co-authored-by: silverwind <me@silverwind.io> Co-authored-by: Giteabot <teabot@gitea.io>
This commit is contained in:
@@ -148,6 +148,9 @@ func (s *TestSession) GetCookieFlashMessage() *middleware.Flash {
|
||||
|
||||
func (s *TestSession) MakeRequest(t testing.TB, rw *RequestWrapper, expectedStatus int) *httptest.ResponseRecorder {
|
||||
t.Helper()
|
||||
if s == nil {
|
||||
return MakeRequest(t, rw, expectedStatus)
|
||||
}
|
||||
req := rw.Request
|
||||
baseURL, err := url.Parse(setting.AppURL)
|
||||
assert.NoError(t, err)
|
||||
|
Reference in New Issue
Block a user