diff options
Diffstat (limited to 'lib/quality/seeders/issues.rb')
-rw-r--r-- | lib/quality/seeders/issues.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/quality/seeders/issues.rb b/lib/quality/seeders/issues.rb index 4c8cb6e97cc..ae19e86546a 100644 --- a/lib/quality/seeders/issues.rb +++ b/lib/quality/seeders/issues.rb @@ -29,6 +29,7 @@ module Quality assignee_ids: Array(team.pluck(:id).sample(3)), labels: labels.join(',') } + params[:closed_at] = params[:created_at] + rand(35).days if params[:state] == 'closed' issue = ::Issues::CreateService.new(project, team.sample, params).execute if issue.persisted? |