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

Fix url params spec

Oliver Güntherbd99b1e66d2e
diff --git a/frontend/src/app/features/work-packages/components/wp-query/url-params-helper.spec.ts b/frontend/src/app/features/work-packages/components/wp-query/url-params-helper.spec.ts
index ec2d09e8069..d1bce649d01 100644
--- a/frontend/src/app/features/work-packages/components/wp-query/url-params-helper.spec.ts
+++ b/frontend/src/app/features/work-packages/components/wp-query/url-params-helper.spec.ts
@@ -209,6 +209,7 @@ describe('UrlParamsHelper', () => {
},
],
filters: [filter1, filter2],
+ timestamps: ['PT0S'],
};
additional = {
@@ -244,6 +245,7 @@ describe('UrlParamsHelper', () => {
'highlightedAttributes[]': ['a', 'b'],
offset: 10,
pageSize: 100,
+ timestamps: 'PT0S',
};
expect(_.isEqual(v3Params, expected)).toBeTruthy();
@@ -278,6 +280,7 @@ describe('UrlParamsHelper', () => {
groupBy: '',
timelineZoomLevel: 0,
highlightingMode: 'inline',
+ timestamps: ['PT0S'],
sums: false,
};
@@ -301,8 +304,8 @@ describe('UrlParamsHelper', () => {
showHierarchies: false,
highlightingMode: 'inline',
includeSubprojects: false,
-
sortBy: '[]',
+ timestamps: 'PT0S',
};
expect(_.isEqual(v3Params, expected)).toBeTruthy();