Commit 9bb92674 authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets

Merge branch 'development_seed_fix' into 'master'

Development  Project Seed Data Fix

After this commit https://dev.gitlab.org/gitlab/gitlabhq/commit/1d2bdb4d5880bb1ad39b62c81ff2971aa0cb3798 Contexts were replaced with Services. One context remained in the seed data which means development seeding will fail.

@dzaporozhets Do we want to backport this to 6.5 too?

/cc @jacobvosmaer @sytse
parents d0b87eb0 5e08f813
...@@ -40,7 +40,7 @@ project_urls.each_with_index do |url, i| ...@@ -40,7 +40,7 @@ project_urls.each_with_index do |url, i|
description: Faker::Lorem.sentence description: Faker::Lorem.sentence
} }
project = Projects::CreateContext.new(User.first, params).execute project = Projects::CreateService.new(User.first, params).execute
if project.valid? if project.valid?
print '.' print '.'
......
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