MCPcopy Create free account
hub / github.com/cli/cli / ActiveTokenWithRefresh

Method ActiveTokenWithRefresh

pkg/cmd/agent-task/capi/job_test.go:22–24  ·  view source on GitHub ↗
(string)

Source from the content-addressed store, hash-verified

20}
21
22func (s stubAuthConfig) ActiveTokenWithRefresh(string) (gh.Credential, gh.RefreshStatus, error) {
23 return s.cred, gh.RefreshStatusUnnecessary, nil
24}
25
26func TestGetJobRequiresRepoAndJobID(t *testing.T) {
27 client := &CAPIClient{}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected