mirror of
https://github.com/zoriya/octokit.net.git
synced 2026-06-03 19:11:30 +00:00
compare reaction respone fields
This commit is contained in:
@@ -421,6 +421,10 @@ public class RepositoryCommentsClientTests
|
||||
var reaction = await _github.Repository.Comment.CreateReaction(_context.RepositoryOwner, _context.RepositoryName, result.Id, newCommitCommentReaction);
|
||||
|
||||
Assert.IsType<CommitCommentReaction>(reaction);
|
||||
|
||||
Assert.Equal(Reaction.Confused, reaction.Content);
|
||||
|
||||
Assert.Equal(result.User.Id, reaction.UserId);
|
||||
}
|
||||
|
||||
public void Dispose()
|
||||
|
||||
Reference in New Issue
Block a user