提交 8536dedb 编写于 作者: S Stan Hu

Fix seed_fu failure with inserting milestones into test DB

Milestones were not being saved due to "invalid state" validation errors
上级 6ca5d6cf
......@@ -4,7 +4,7 @@ Gitlab::Seeder.quiet do
milestone_params = {
title: "v#{i}.0",
description: FFaker::Lorem.sentence,
state: ['opened', 'closed'].sample,
state: [:active, :closed].sample,
}
milestone = Milestones::CreateService.new(
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册