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

remove tests disabled on the CI

ulfertsbc6a20073b2a
diff --git a/modules/reporting/spec/models/cost_query/chaining_spec.rb b/modules/reporting/spec/models/cost_query/chaining_spec.rb
index 30989023636..ecc2ed08f49 100644
--- a/modules/reporting/spec/models/cost_query/chaining_spec.rb
+++ b/modules/reporting/spec/models/cost_query/chaining_spec.rb
@@ -80,17 +80,6 @@ describe CostQuery, type: :model, reporting_query_helper: true do
expect(@query.chain.top.type).to eq(:row)
end
- it "should place rows in front of columns when adding a row first" do
- skip "This fails unreproducible on travis" if ENV['CI']
- @query.row :project_id
- expect(@query.chain.bottom.parent.type).to eq(:row)
- expect(@query.chain.top.type).to eq(:row)
-
- @query.column :project_id
- expect(@query.chain.bottom.parent.type).to eq(:column)
- expect(@query.chain.top.type).to eq(:row)
- end
-
it "should place rows in front of filters" do
@query.row :project_id
expect(@query.chain.bottom.parent.type).to eq(:row)
@@ -102,18 +91,6 @@ describe CostQuery, type: :model, reporting_query_helper: true do
expect(@query.chain.top.type).to eq(:row)
end
- it "should place columns in front of filters" do
- skip "This fails unreproducible on travis" if ENV['CI']
- @query.column :project_id
- expect(@query.chain.bottom.parent.type).to eq(:column)
- expect(@query.chain.top.type).to eq(:column)
-
- @query.filter :project_id
- expect(@query.chain.bottom.parent).to be_a(CostQuery::Filter::ProjectId)
- expect(@query.chain.top).to be_a(CostQuery::GroupBy::Base)
- expect(@query.chain.top.type).to eq(:column)
- end
-
it "should return all filters, including the NoFilter" do
@query.filter :project_id
@query.group_by :project_id