fix action fixtures

This commit is contained in:
oliverpool 2024-03-19 16:43:56 +01:00
parent 25daa267bb
commit c0fb62cb5a
2 changed files with 2 additions and 1 deletions

View file

@ -500,7 +500,7 @@ func (issue *Issue) GetLastEventLabelFake() string {
// GetIssueByIndex returns raw issue without loading attributes by index in a repository.
func GetIssueByIndex(ctx context.Context, repoID, index int64) (*Issue, error) {
if index < 1 {
return nil, ErrIssueNotExist{}
return nil, ErrIssueNotExist{0, repoID, index}
}
issue := &Issue{
RepoID: repoID,