mirror of
https://github.com/zoriya/octokit.net.git
synced 2026-06-02 19:00:47 +00:00
IApiResponse no longer inherits IResponse
This commit is contained in:
@@ -90,7 +90,7 @@ namespace Octokit.Tests.Http
|
||||
public async Task ThrowsAuthorizationExceptionExceptionForUnauthorizedResponse()
|
||||
{
|
||||
var httpClient = Substitute.For<IHttpClient>();
|
||||
IResponse response = new Response { StatusCode = HttpStatusCode.Unauthorized};
|
||||
IResponse response = new Response { StatusCode = HttpStatusCode.Unauthorized };
|
||||
httpClient.Send(Args.Request, Args.CancellationToken).Returns(Task.FromResult(response));
|
||||
var connection = new Connection(new ProductHeaderValue("OctokitTests"),
|
||||
_exampleUri,
|
||||
|
||||
Reference in New Issue
Block a user