Commit a324960d authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets

Merge pull request #4407 from jackbot/master

Database seeding failing
parents b8eee565 905eb176
......@@ -11,7 +11,7 @@ Gitlab::Seeder.quiet do
next unless user
user_id = user.id
IssueObserver.current_user = user
Thread.current[:current_user] = user
Issue.seed(:id, [{
id: i,
......
......@@ -17,7 +17,8 @@ Gitlab::Seeder.quiet do
next if branches.uniq.size < 2
user_id = user.id
MergeRequestObserver.current_user = user
Thread.current[:current_user] = user
MergeRequest.seed(:id, [{
id: i,
source_branch: branches.first,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment