diff options
Diffstat (limited to 'spec/factories/projects.rb')
-rw-r--r-- | spec/factories/projects.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/spec/factories/projects.rb b/spec/factories/projects.rb index 2ae9d87cc64..0962c251382 100644 --- a/spec/factories/projects.rb +++ b/spec/factories/projects.rb @@ -94,6 +94,8 @@ FactoryBot.define do visibility_level: evaluator.visibility_level } + project_namespace_hash[:id] = evaluator.project_namespace_id.presence + project.build_project_namespace(project_namespace_hash) project.build_project_feature(project_feature_hash) |