MCPcopy Create free account
hub / github.com/SenseUnit/dumbproxy / TestNewRejectAuthStaticIsInvalid

Function TestNewRejectAuthStaticIsInvalid

auth/response_test.go:33–37  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

31}
32
33func TestNewRejectAuthStaticIsInvalid(t *testing.T) {
34 if _, err := NewRejectAuth("static://?code=403", nil); err == nil {
35 t.Fatalf("NewRejectAuth accepted static scheme")
36 }
37}

Callers

nothing calls this directly

Calls 2

NewRejectAuthFunction · 0.85
FatalfMethod · 0.80

Tested by

no test coverage detected