Files
CollabTable/backend/routes_test.go
T
Gabriel20xxandClaude Sonnet 5 f723afa369
Docker / Docker Build & Push (push) Successful in 5m39s
Lint / Lint (push) Successful in 51s
Tests / Go backend (push) Successful in 1m12s
Tests / Dashboard checks (push) Successful in 1m11s
Add AUTH_DISABLED opt-out for sharedauth's new pending mode
sharedauth.NewWithStore now treats an empty AUTHGUARD_URL as "pending"
(still gated, failing closed) rather than permanently disabled, so a
ProjectConfigurator-registered CollabTable no longer needs
AUTHGUARD_URL set at all. Add AUTH_DISABLED (default false) to opt
into the old fully-open behavior explicitly via sharedauth.Disabled(),
and update both READMEs/.env.example to document the three resulting
states.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-09-14 14:12:34 +02:00

12 lines
205 B
Go

package main
import (
"net/http"
"testing"
)
func TestRegisterRoutes(t *testing.T) {
server := &Server{auth: newAuthService(nil, "", false, false)}
server.registerRoutes(http.NewServeMux(), webFS)
}