Even more tests, crossed 50% coverage

This commit is contained in:
2024-10-03 14:00:39 +01:00
parent 8767756431
commit 13572003a5
3 changed files with 75 additions and 6 deletions
+1 -2
View File
@@ -79,8 +79,7 @@ func (t *TraefikOidc) handleLogout(rw http.ResponseWriter, req *http.Request) {
return
}
rw.WriteHeader(http.StatusForbidden)
rw.Write([]byte("Logged out"))
http.Error(rw, "Logged out", http.StatusForbidden)
}
func (t *TraefikOidc) handleCallback(rw http.ResponseWriter, req *http.Request) (bool, string) {