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

Don't use id=1 for an entry that might still exist

Oliver Günther7e185a8ca136
diff --git a/modules/costs/spec/controllers/costlog_controller_spec.rb b/modules/costs/spec/controllers/costlog_controller_spec.rb
index 5874175e3b4..9703db1df21 100644
--- a/modules/costs/spec/controllers/costlog_controller_spec.rb
+++ b/modules/costs/spec/controllers/costlog_controller_spec.rb
@@ -666,7 +666,7 @@ describe CostlogController, type: :controller do
before do
grant_current_user_permissions user, [:edit_cost_entries]
- params['cost_entry']['cost_type_id'] = '1'
+ params['cost_entry']['cost_type_id'] = '1234123512'
end
it_should_behave_like 'invalid update'