(t *testing.T)
| 220 | } |
| 221 | |
| 222 | func TestBasicAuthResolver(t *testing.T) { |
| 223 | creds := func(string) (string, string, error) { |
| 224 | return "totallyvaliduser", "totallyvalidpassword", nil |
| 225 | } |
| 226 | |
| 227 | runBasicTest(t, "testname", withBasicAuthServer(creds)) |
| 228 | } |
| 229 | |
| 230 | func TestBadTokenResolver(t *testing.T) { |
| 231 | th := http.HandlerFunc(func(rw http.ResponseWriter, r *http.Request) { |
nothing calls this directly
no test coverage detected
searching dependent graphs…