fixed unit tests for reaction clients

This commit is contained in:
maddin2016
2016-06-01 13:51:07 +02:00
parent 1a974e0a25
commit 56434f29f6
4 changed files with 4 additions and 4 deletions
@@ -26,7 +26,7 @@ namespace Octokit.Tests.Clients
client.CommitComment.GetAll("fake", "repo", 42);
connection.Received().GetAll<Reaction>(Arg.Is<Uri>(u => u.ToString() == "repos/fake/repo/comments/1/reactions"), "application/vnd.github.squirrel-girl-preview");
connection.Received().GetAll<Reaction>(Arg.Is<Uri>(u => u.ToString() == "repos/fake/repo/comments/42/reactions"), "application/vnd.github.squirrel-girl-preview");
}
[Fact]
@@ -26,7 +26,7 @@ namespace Octokit.Tests.Clients
client.IssueComment.GetAll("fake", "repo", 42);
connection.Received().GetAll<Reaction>(Arg.Is<Uri>(u => u.ToString() == "repos/fake/repo/issues/comments/1/reactions"), "application/vnd.github.squirrel-girl-preview");
connection.Received().GetAll<Reaction>(Arg.Is<Uri>(u => u.ToString() == "repos/fake/repo/issues/comments/42/reactions"), "application/vnd.github.squirrel-girl-preview");
}
[Fact]
@@ -26,7 +26,7 @@ namespace Octokit.Tests.Clients
client.Issue.GetAll("fake", "repo", 42);
connection.Received().GetAll<Reaction>(Arg.Is<Uri>(u => u.ToString() == "repos/fake/repo/issues/1/reactions"), "application/vnd.github.squirrel-girl-preview");
connection.Received().GetAll<Reaction>(Arg.Is<Uri>(u => u.ToString() == "repos/fake/repo/issues/42/reactions"), "application/vnd.github.squirrel-girl-preview");
}
[Fact]
@@ -26,7 +26,7 @@ namespace Octokit.Tests.Clients
client.PullRequestReviewComment.GetAll("fake", "repo", 42);
connection.Received().GetAll<Reaction>(Arg.Is<Uri>(u => u.ToString() == "repos/fake/repo/pulls/comments/1/reactions"), "application/vnd.github.squirrel-girl-preview");
connection.Received().GetAll<Reaction>(Arg.Is<Uri>(u => u.ToString() == "repos/fake/repo/pulls/comments/42/reactions"), "application/vnd.github.squirrel-girl-preview");
}
[Fact]