MCPcopy Index your code
hub / github.com/coder/coder / TestNewUnsupportedProvider

Function TestNewUnsupportedProvider

coderd/externalauth/gitprovider/github_test.go:424–429  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

422}
423
424func TestNewUnsupportedProvider(t *testing.T) {
425 t.Parallel()
426 gp, err := gitprovider.New("unsupported", "", nil)
427 require.NoError(t, err)
428 assert.Nil(t, gp, "unsupported provider type should return nil")
429}
430
431func TestGitHubRatelimit_403WithResetHeader(t *testing.T) {
432 t.Parallel()

Callers

nothing calls this directly

Calls 1

NewFunction · 0.92

Tested by

no test coverage detected