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

[#66961] fix test setup

Eric Schubertffdcfc4d6e48
diff --git a/spec/lib/api/v3/work_packages/work_package_representer_spec.rb b/spec/lib/api/v3/work_packages/work_package_representer_spec.rb
index 3010600cafa..08be4d08565 100644
--- a/spec/lib/api/v3/work_packages/work_package_representer_spec.rb
+++ b/spec/lib/api/v3/work_packages/work_package_representer_spec.rb
@@ -1256,7 +1256,7 @@ RSpec.describe API::V3::WorkPackages::WorkPackageRepresenter do
it_behaves_like "has a titled link" do
let(:link) { "customField#{custom_field.id}" }
- let(:href) { "/api/v3/custom_field_items/#{item.id}" }
+ let(:href) { "/api/v3/custom_field_items/#{scored_item.id}" }
let(:title) { "TIE Fighter" }
end
end