diff --git a/Octokit.Tests/Clients/IssueCommentsClientTests.cs b/Octokit.Tests/Clients/IssueCommentsClientTests.cs index 1bac6036..06a9ba63 100644 --- a/Octokit.Tests/Clients/IssueCommentsClientTests.cs +++ b/Octokit.Tests/Clients/IssueCommentsClientTests.cs @@ -98,7 +98,7 @@ public class IssueCommentsClientTests client.Create("fake", "repo", 1, newComment); - connection.Received().Post(Arg.Is(u => u.ToString() == "repos/fake/repo/issues/1/comments"), newComment); + connection.Received().Post(Arg.Is(u => u.ToString() == "repos/fake/repo/issues/1/comments"), Arg.Any()); } [Fact] @@ -126,8 +126,7 @@ public class IssueCommentsClientTests client.Update("fake", "repo", 42, issueCommentUpdate); - connection.Received().Patch(Arg.Is(u => u.ToString() == "repos/fake/repo/issues/comments/42"), - issueCommentUpdate); + connection.Received().Patch(Arg.Is(u => u.ToString() == "repos/fake/repo/issues/comments/42"), Arg.Any()); } [Fact]