summaryrefslogtreecommitdiff
path: root/db/fixtures/development/10_merge_requests.rb
diff options
context:
space:
mode:
Diffstat (limited to 'db/fixtures/development/10_merge_requests.rb')
-rw-r--r--db/fixtures/development/10_merge_requests.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/db/fixtures/development/10_merge_requests.rb b/db/fixtures/development/10_merge_requests.rb
index c304e0706dc..30244ee4431 100644
--- a/db/fixtures/development/10_merge_requests.rb
+++ b/db/fixtures/development/10_merge_requests.rb
@@ -28,6 +28,8 @@ Gitlab::Seeder.quiet do
project = Project.find_by_full_path('gitlab-org/gitlab-test')
+ next if project.empty_repo? # We don't have repository on CI
+
params = {
source_branch: 'feature',
target_branch: 'master',