Skip to content

Commit

Permalink
fix test case
Browse files Browse the repository at this point in the history
  • Loading branch information
donch1989 committed Dec 23, 2024
1 parent 5d57b52 commit 8c201c3
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions pkg/component/application/github/v0/mock_issue_service.go
Original file line number Diff line number Diff line change
Expand Up @@ -28,14 +28,14 @@ func (m *MockIssuesService) ListByRepo(ctx context.Context, owner, repo string,
Body: github.String("Issue Body"),
State: github.String("open"),
Assignee: &github.User{
Name: github.String("assignee"),
Login: github.String("assignee"),
},
Assignees: []*github.User{
{
Name: github.String("assignee1"),
Login: github.String("assignee1"),
},
{
Name: github.String("assignee2"),
Login: github.String("assignee2"),
},
},
Labels: []*github.Label{
Expand Down Expand Up @@ -68,14 +68,14 @@ func (m *MockIssuesService) Get(ctx context.Context, owner, repo string, number
Body: github.String("Issue Body"),
State: github.String("open"),
Assignee: &github.User{
Name: github.String("assignee"),
Login: github.String("assignee"),
},
Assignees: []*github.User{
{
Name: github.String("assignee1"),
Login: github.String("assignee1"),
},
{
Name: github.String("assignee2"),
Login: github.String("assignee2"),
},
},
Labels: []*github.Label{
Expand Down

0 comments on commit 8c201c3

Please sign in to comment.