Skip to content
代码片段 群组 项目
未验证 提交 55f35114 编辑于 作者: Alexandru Croitor's avatar Alexandru Croitor 提交者: GitLab
浏览文件

Merge branch 'nd/force-updated-by-from-work-item' into 'master'

No related branches found
No related tags found
无相关合并请求
......@@ -57,7 +57,7 @@ def update_params(work_item)
.index_with { |attr| work_item[attr] }
.merge(color_params(work_item))
.merge(dates_params(work_item))
.merge(updated_at: work_item.updated_at)
.merge(updated_at: work_item.updated_at, updated_by_id: work_item.updated_by_id)
end
def base_attributes_params(work_item)
......
......@@ -365,7 +365,10 @@
end
context 'with a synced epic' do
let_it_be(:work_item, refind: true) { create(:work_item, :epic_with_legacy_epic, namespace: group) }
let_it_be(:work_item, refind: true) do
create(:work_item, :epic_with_legacy_epic, namespace: group, updated_by: create(:user))
end
let_it_be(:epic) { work_item.synced_epic }
let(:start_date) { (Time.current + 1.day).to_date }
let(:due_date) { (Time.current + 2.days).to_date }
......
0% 加载中 .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册