7 references to s_api
AnalyzeCiFailure.Tests (7)
GitHubApiClientTests.cs (7)
38
s_api
);
43
using var response = await http.GetAsync(
s_api
);
95
using var client = new GitHubApiClient(http, _ => Task.FromException<string>(cause),
s_api
);
115
s_api
);
132
using var client = new GitHubApiClient(http, _ => Task.FromResult(token),
s_api
);
868
using var client = new GitHubApiClient(http, _ => throw new InvalidOperationException("Must not authenticate."),
s_api
);
873
private static GitHubApiClient Create(HttpClient http) => new(http, _ => Task.FromResult("example-token"),
s_api
);