mirror of
https://github.com/zoriya/octokit.net.git
synced 2026-06-02 10:55:53 +00:00
Merge pull request #268 from ben-biddington/failing_tests
Expect anything for body since the test is about proving earl correctness (resolves #266)
This commit is contained in:
@@ -98,7 +98,7 @@ public class IssueCommentsClientTests
|
||||
|
||||
client.Create("fake", "repo", 1, newComment);
|
||||
|
||||
connection.Received().Post<IssueComment>(Arg.Is<Uri>(u => u.ToString() == "repos/fake/repo/issues/1/comments"), newComment);
|
||||
connection.Received().Post<IssueComment>(Arg.Is<Uri>(u => u.ToString() == "repos/fake/repo/issues/1/comments"), Arg.Any<object>());
|
||||
}
|
||||
|
||||
[Fact]
|
||||
@@ -126,8 +126,7 @@ public class IssueCommentsClientTests
|
||||
|
||||
client.Update("fake", "repo", 42, issueCommentUpdate);
|
||||
|
||||
connection.Received().Patch<IssueComment>(Arg.Is<Uri>(u => u.ToString() == "repos/fake/repo/issues/comments/42"),
|
||||
issueCommentUpdate);
|
||||
connection.Received().Patch<IssueComment>(Arg.Is<Uri>(u => u.ToString() == "repos/fake/repo/issues/comments/42"), Arg.Any<object>());
|
||||
}
|
||||
|
||||
[Fact]
|
||||
|
||||
Reference in New Issue
Block a user