Skip to content

OpenProject is the leading open source project management software for product, project and portfolio management. A powerful Jira alternative with agile planning, issue tracking, roadmaps, Gantt charts, time tracking, collaboration features, and more. Available on premises or in the cloud. ⭐ Star us on GitHub

add sequency for position to phase definition factory

Ivan Kuchin134046e43913
diff --git a/spec/factories/project_phase_definition_factory.rb b/spec/factories/project_phase_definition_factory.rb
index 5538277f648..27a31f9deb4 100644
--- a/spec/factories/project_phase_definition_factory.rb
+++ b/spec/factories/project_phase_definition_factory.rb
@@ -29,6 +29,7 @@
FactoryBot.define do
factory :project_phase_definition, class: "Project::PhaseDefinition" do
sequence(:name) { |n| "Phase definition #{n}" }
+ sequence(:position)
color