@@ -44,8 +44,8 @@ func TestGranularToolSnaps(t *testing.T) {
4444 GranularRemoveSubIssue ,
4545 GranularReprioritizeSubIssue ,
4646 GranularSetIssueFields ,
47- AddIssueReaction ,
48- AddIssueCommentReaction ,
47+ GranularAddIssueReaction ,
48+ GranularAddIssueCommentReaction ,
4949 GranularUpdatePullRequestTitle ,
5050 GranularUpdatePullRequestBody ,
5151 GranularUpdatePullRequestState ,
@@ -57,7 +57,7 @@ func TestGranularToolSnaps(t *testing.T) {
5757 GranularAddPullRequestReviewComment ,
5858 GranularResolveReviewThread ,
5959 GranularUnresolveReviewThread ,
60- AddPullRequestReviewCommentReaction ,
60+ GranularAddPullRequestReviewCommentReaction ,
6161 }
6262
6363 for _ , constructor := range toolConstructors {
@@ -2035,7 +2035,7 @@ func TestGranularSetIssueFields(t *testing.T) {
20352035
20362036// --- Reaction granular tool handler tests ---
20372037
2038- func TestAddIssueReaction (t * testing.T ) {
2038+ func TestGranularAddIssueReaction (t * testing.T ) {
20392039 mockReaction := & gogithub.Reaction {
20402040 ID : gogithub .Ptr (int64 (12345 )),
20412041 Content : gogithub .Ptr ("+1" ),
@@ -2086,7 +2086,7 @@ func TestAddIssueReaction(t *testing.T) {
20862086 t .Run (tc .name , func (t * testing.T ) {
20872087 client := mustNewGHClient (t , tc .mockedClient )
20882088 deps := BaseDeps {Client : client }
2089- serverTool := AddIssueReaction (translations .NullTranslationHelper )
2089+ serverTool := GranularAddIssueReaction (translations .NullTranslationHelper )
20902090 handler := serverTool .Handler (deps )
20912091 request := createMCPRequest (tc .args )
20922092 result , err := handler (ContextWithDeps (context .Background (), deps ), & request )
@@ -2105,7 +2105,7 @@ func TestAddIssueReaction(t *testing.T) {
21052105 }
21062106}
21072107
2108- func TestAddIssueCommentReaction (t * testing.T ) {
2108+ func TestGranularAddIssueCommentReaction (t * testing.T ) {
21092109 mockReaction := & gogithub.Reaction {
21102110 ID : gogithub .Ptr (int64 (67890 )),
21112111 Content : gogithub .Ptr ("heart" ),
@@ -2146,7 +2146,7 @@ func TestAddIssueCommentReaction(t *testing.T) {
21462146 t .Run (tc .name , func (t * testing.T ) {
21472147 client := mustNewGHClient (t , tc .mockedClient )
21482148 deps := BaseDeps {Client : client }
2149- serverTool := AddIssueCommentReaction (translations .NullTranslationHelper )
2149+ serverTool := GranularAddIssueCommentReaction (translations .NullTranslationHelper )
21502150 handler := serverTool .Handler (deps )
21512151 request := createMCPRequest (tc .args )
21522152 result , err := handler (ContextWithDeps (context .Background (), deps ), & request )
@@ -2165,7 +2165,7 @@ func TestAddIssueCommentReaction(t *testing.T) {
21652165 }
21662166}
21672167
2168- func TestAddPullRequestReviewCommentReaction (t * testing.T ) {
2168+ func TestGranularAddPullRequestReviewCommentReaction (t * testing.T ) {
21692169 mockReaction := & gogithub.Reaction {
21702170 ID : gogithub .Ptr (int64 (54321 )),
21712171 Content : gogithub .Ptr ("rocket" ),
@@ -2206,7 +2206,7 @@ func TestAddPullRequestReviewCommentReaction(t *testing.T) {
22062206 t .Run (tc .name , func (t * testing.T ) {
22072207 client := mustNewGHClient (t , tc .mockedClient )
22082208 deps := BaseDeps {Client : client }
2209- serverTool := AddPullRequestReviewCommentReaction (translations .NullTranslationHelper )
2209+ serverTool := GranularAddPullRequestReviewCommentReaction (translations .NullTranslationHelper )
22102210 handler := serverTool .Handler (deps )
22112211 request := createMCPRequest (tc .args )
22122212 result , err := handler (ContextWithDeps (context .Background (), deps ), & request )
0 commit comments