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

fixup! [#46555] Extend Query resource in APIv3 by timestamps

Dombi Attilae0c529fb3b5f
diff --git a/spec/lib/api/v3/utilities/path_helper_spec.rb b/spec/lib/api/v3/utilities/path_helper_spec.rb
index a677a012735..61b27540de7 100644
--- a/spec/lib/api/v3/utilities/path_helper_spec.rb
+++ b/spec/lib/api/v3/utilities/path_helper_spec.rb
@@ -533,7 +533,7 @@ describe API::V3::Utilities::PathHelper do
# The simple case (with an id) is already covered by the 'it_behaves_like'
describe '#work_package with an historic timestamp' do
- subject { helper.work_package 42, timestamps: Timestamp.parse("2020-02-02 02:02:02") }
+ subject { helper.work_package 42, timestamps: Timestamp.parse("2020-02-02T02:02:02Z") }
it_behaves_like 'api v3 path', '/work_packages/42?timestamps=2020-02-02T02%3A02%3A02Z'
end