Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'db/fixtures/development')
-rw-r--r--db/fixtures/development/02_application_settings.rb2
-rw-r--r--db/fixtures/development/10_merge_requests.rb2
-rw-r--r--db/fixtures/development/24_forks.rb9
3 files changed, 9 insertions, 4 deletions
diff --git a/db/fixtures/development/02_application_settings.rb b/db/fixtures/development/02_application_settings.rb
index 7cdc8e40b69..67486d2ab5f 100644
--- a/db/fixtures/development/02_application_settings.rb
+++ b/db/fixtures/development/02_application_settings.rb
@@ -3,7 +3,7 @@
puts "Creating the default ApplicationSetting record.".color(:green)
ApplicationSetting.create_from_defaults
-# Details https://gitlab.com/gitlab-org/gitlab-ce/issues/46241
+# Details https://gitlab.com/gitlab-org/gitlab-foss/issues/46241
puts "Enable hashed storage for every new projects.".color(:green)
ApplicationSetting.current_without_cache.update!(hashed_storage_enabled: true)
diff --git a/db/fixtures/development/10_merge_requests.rb b/db/fixtures/development/10_merge_requests.rb
index 43b69470d2c..4af545614f7 100644
--- a/db/fixtures/development/10_merge_requests.rb
+++ b/db/fixtures/development/10_merge_requests.rb
@@ -33,7 +33,7 @@ Gitlab::Seeder.quiet do
MergeRequests::CreateService.new(project, developer, params).execute
rescue Repository::AmbiguousRefError
# Ignore pipelines creation errors for now, we can doing that after
- # https://gitlab.com/gitlab-org/gitlab-ce/issues/55966. will be resolved.
+ # https://gitlab.com/gitlab-org/gitlab-foss/issues/55966. will be resolved.
end
print '.'
end
diff --git a/db/fixtures/development/24_forks.rb b/db/fixtures/development/24_forks.rb
index d05d27c3ed5..971c6f0d0c8 100644
--- a/db/fixtures/development/24_forks.rb
+++ b/db/fixtures/development/24_forks.rb
@@ -6,11 +6,16 @@ Sidekiq::Testing.inline! do
source_project = Project.public_only.sample
##
- # 04_project.rb might not have created a public project because
+ # 03_project.rb might not have created a public project because
# we use randomized approach (e.g. `Array#sample`).
return unless source_project
- fork_project = Projects::ForkService.new(source_project, user, namespace: user.namespace).execute
+ fork_project = Projects::ForkService.new(
+ source_project,
+ user,
+ namespace: user.namespace,
+ skip_disk_validation: true
+ ).execute
if fork_project.valid?
print '.'