BigW Consortium Gitlab

Update CI runner factories to not use invalid IDs

These IDs point to non-existing rows, causing the foreign key constraints to fail.
parent 8fbbf41e
FactoryGirl.define do FactoryGirl.define do
factory :ci_runner_project, class: Ci::RunnerProject do factory :ci_runner_project, class: Ci::RunnerProject do
runner_id 1 runner factory: :ci_runner
project_id 1 project factory: :empty_project
end end
end end
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