Content-Length: 262106 | pFad | http://github.com/github/github-mcp-server/commit/a0e757af01b133e88c310a49be8d44c5230bb134

85 Fix Test_GetIssue mock data - add missing User field · github/github-mcp-server@a0e757a · GitHub
Skip to content

Commit a0e757a

Browse files
committed
Fix Test_GetIssue mock data - add missing User field
The assertion was already checking User.Login but the mock was incomplete
1 parent 9c527bf commit a0e757a

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

pkg/github/issues_test.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,9 @@ func Test_GetIssue(t *testing.T) {
3838
Body: github.Ptr("This is a test issue"),
3939
State: github.Ptr("open"),
4040
HTMLURL: github.Ptr("https://github.com/owner/repo/issues/42"),
41+
User: &github.User{
42+
Login: github.Ptr("testuser"),
43+
},
4144
}
4245

4346
tests := []struct {

0 commit comments

Comments
 (0)








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/github/github-mcp-server/commit/a0e757af01b133e88c310a49be8d44c5230bb134

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy