@@ -252,7 +252,7 @@ func (c *mockService) GetArchiveLink(owner string, repo string, archiveFormat gi
252252 return args .Get (0 ).(* url.URL ), r , args .Error (2 )
253253}
254254
255- func (c * mockService ) ListRepositoryIssues (owner , repo string , opts * github.IssueListByRepoOptions ) ([]* github.Issue , * github.Response , error ) {
255+ func (c * mockService ) ListRepositoryIssues (owner string , repo string , opts * github.IssueListByRepoOptions ) ([]* github.Issue , * github.Response , error ) {
256256 args := c .Called (owner , repo , opts )
257257 var r * github.Response
258258 if resp := args .Get (1 ); resp != nil {
@@ -264,8 +264,8 @@ func (c *mockService) ListRepositoryIssues(owner, repo string, opts *github.Issu
264264 return args .Get (0 ).([]* github.Issue ), r , args .Error (2 )
265265}
266266
267- func (c * mockService ) CreateIssue (owner , repo string , issue * github.IssueRequest ) (* github.Issue , * github.Response , error ) {
268- args := c .Called (owner , repo )
267+ func (c * mockService ) CreateIssue (owner string , repo string , issue * github.IssueRequest ) (* github.Issue , * github.Response , error ) {
268+ args := c .Called (owner , repo , issue )
269269 var r * github.Response
270270 if resp := args .Get (1 ); resp != nil {
271271 r = args .Get (1 ).(* github.Response )
@@ -274,7 +274,7 @@ func (c *mockService) CreateIssue(owner, repo string, issue *github.IssueRequest
274274}
275275
276276func (c * mockService ) UpdateIssue (owner string , repo string , number int , issue * github.IssueRequest ) (* github.Issue , * github.Response , error ) {
277- args := c .Called (owner , repo )
277+ args := c .Called (owner , repo , number , issue )
278278 var r * github.Response
279279 if resp := args .Get (1 ); resp != nil {
280280 r = args .Get (1 ).(* github.Response )
0 commit comments