Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/db
diff options
context:
space:
mode:
authorConstance Okoghenun <cokoghenun@gitlab.com>2018-11-07 20:22:15 +0300
committerFatih Acet <acetfatih@gmail.com>2018-11-07 20:22:15 +0300
commit6e911a119fdcdb8782babc3c50a44fbc6730bb3f (patch)
tree4a628e81e5161a9d6d421969b4e9c2631385c10d /db
parent24d3486f6b4db7b1d5cb110012aebc4999f44e30 (diff)
CE backport - Chart showing issues created per month
Diffstat (limited to 'db')
-rw-r--r--db/fixtures/development/09_issues.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/db/fixtures/development/09_issues.rb b/db/fixtures/development/09_issues.rb
index 0b32a461d56..16243b72f9a 100644
--- a/db/fixtures/development/09_issues.rb
+++ b/db/fixtures/development/09_issues.rb
@@ -8,7 +8,8 @@ Gitlab::Seeder.quiet do
description: FFaker::Lorem.sentence,
state: ['opened', 'closed'].sample,
milestone: project.milestones.sample,
- assignees: [project.team.users.sample]
+ assignees: [project.team.users.sample],
+ created_at: rand(12).months.ago
}
Issues::CreateService.new(project, project.team.users.sample, issue_params).execute