MCPcopy Index your code
hub / github.com/github/github-mcp-server / TestAuthenticateNoTokenInitially

Function TestAuthenticateNoTokenInitially

internal/oauth/manager_test.go:277–282  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

275}
276
277func TestAuthenticateNoTokenInitially(t *testing.T) {
278 f := newFakeGitHub(t)
279 m := newManager(t, f)
280 assert.False(t, m.HasToken())
281 assert.Empty(t, m.AccessToken())
282}
283
284func TestAuthenticateSingleFlight(t *testing.T) {
285 f := newFakeGitHub(t)

Callers

nothing calls this directly

Calls 4

newFakeGitHubFunction · 0.85
newManagerFunction · 0.85
AccessTokenMethod · 0.80
HasTokenMethod · 0.65

Tested by

no test coverage detected