Merge branch 'main' into renovate/pin-dependencies
ci / image (pull_request) Successful in 4m53s
ci / build (pull_request) Successful in 8m48s
ci / test (pull_request) Successful in 9m14s
ci / lint (pull_request) Successful in 14m57s

This commit is contained in:
Sebi committed 2026-11-23 16:50:28 +00:00
commit 4a0099afe2
1 file changed
+1 -2
+1 -2
View File
@@ -18,8 +18,7 @@ import (
// fakeGitHub answers like GitHub's OAuth and REST API for one user.
func fakeGitHub(t *testing.T, id int64, email string, verified bool) *httptest.Server {
var srv *httptest.Server
srv = httptest.NewServer(http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
srv := httptest.NewServer(http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
switch r.URL.Path {
case "/login/oauth/authorize":
back, _ := url.Parse(r.URL.Query().Get("redirect_uri"))