diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2023-01-18 18:09:05 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2023-01-18 18:09:05 +0300 |
commit | c1b1e7420fd8ad5dbd7591920cb8444b6dc727d9 (patch) | |
tree | c974ed98852b47f0e9524a7b7b4ef8d37912b9e3 /spec/factories | |
parent | ef58231bd6702495b8d2d1e7ddc2ad66d1a7dc70 (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/factories')
-rw-r--r-- | spec/factories/ci/builds.rb | 1 | ||||
-rw-r--r-- | spec/factories/ci/processable.rb | 1 | ||||
-rw-r--r-- | spec/factories/commit_statuses.rb | 1 |
3 files changed, 2 insertions, 1 deletions
diff --git a/spec/factories/ci/builds.rb b/spec/factories/ci/builds.rb index 78398fd7f20..224f460488b 100644 --- a/spec/factories/ci/builds.rb +++ b/spec/factories/ci/builds.rb @@ -7,7 +7,6 @@ FactoryBot.define do created_at { 'Di 29. Okt 09:50:00 CET 2013' } scheduling_type { 'stage' } pending - partition_id { pipeline.partition_id } options do { diff --git a/spec/factories/ci/processable.rb b/spec/factories/ci/processable.rb index 76c7376d24a..f702fb559f5 100644 --- a/spec/factories/ci/processable.rb +++ b/spec/factories/ci/processable.rb @@ -10,6 +10,7 @@ FactoryBot.define do pipeline factory: :ci_pipeline project { pipeline.project } scheduling_type { 'stage' } + partition_id { pipeline.partition_id } trait :waiting_for_resource do status { 'waiting_for_resource' } diff --git a/spec/factories/commit_statuses.rb b/spec/factories/commit_statuses.rb index a60f0a3879a..7d0176d0683 100644 --- a/spec/factories/commit_statuses.rb +++ b/spec/factories/commit_statuses.rb @@ -10,6 +10,7 @@ FactoryBot.define do pipeline factory: :ci_pipeline started_at { 'Tue, 26 Jan 2016 08:21:42 +0100' } finished_at { 'Tue, 26 Jan 2016 08:23:42 +0100' } + partition_id { pipeline&.partition_id } trait :success do status { 'success' } |