Merge pull request #3043 from sjmulder/state-seed
Update seeds for state columns
This commit is contained in:
commit
e7a5ec3376
2 changed files with 2 additions and 2 deletions
|
@ -16,7 +16,7 @@ Gitlab::Seeder.quiet do
|
|||
project_id: project.id,
|
||||
author_id: user_id,
|
||||
assignee_id: user_id,
|
||||
closed: [true, false].sample,
|
||||
state: ['opened', 'closed'].sample,
|
||||
milestone: project.milestones.sample,
|
||||
title: Faker::Lorem.sentence(6)
|
||||
}])
|
||||
|
|
|
@ -17,7 +17,7 @@ Gitlab::Seeder.quiet do
|
|||
project_id: project.id,
|
||||
author_id: user_id,
|
||||
assignee_id: user_id,
|
||||
closed: [true, false].sample,
|
||||
state: ['opened', 'closed'].sample,
|
||||
milestone: project.milestones.sample,
|
||||
title: Faker::Lorem.sentence(6)
|
||||
}])
|
||||
|
|
Loading…
Reference in a new issue