the test, it passes

This commit is contained in:
Brendan Forster
2015-05-31 20:57:05 +09:30
parent 74ac314e34
commit 3859ff3627
4 changed files with 17 additions and 5 deletions
+1 -1
View File
@@ -439,7 +439,7 @@ namespace Octokit.Tests.Http
httpClient.Received().Send(Arg.Is<IRequest>(req =>
req.BaseAddress == _exampleUri &&
req.Body == body &&
req.Headers["Accept"] == "application/vnd.github.v3+json; charset=utf-8" &&
req.Headers["Accept"] == "application/vnd.github.quicksilver-preview+json; charset=utf-8, application/vnd.github.v3+json; charset=utf-8" &&
req.ContentType == "application/arbitrary" &&
req.Method == HttpMethod.Post &&
req.Endpoint == new Uri("https://other.host.com/path?query=val")), Args.CancellationToken);