aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-web/src/main/js/helpers/__tests__/urls-test.js
diff options
context:
space:
mode:
Diffstat (limited to 'server/sonar-web/src/main/js/helpers/__tests__/urls-test.js')
-rw-r--r--server/sonar-web/src/main/js/helpers/__tests__/urls-test.js8
1 files changed, 4 insertions, 4 deletions
diff --git a/server/sonar-web/src/main/js/helpers/__tests__/urls-test.js b/server/sonar-web/src/main/js/helpers/__tests__/urls-test.js
index 8bb991a8390..730cea9ef83 100644
--- a/server/sonar-web/src/main/js/helpers/__tests__/urls-test.js
+++ b/server/sonar-web/src/main/js/helpers/__tests__/urls-test.js
@@ -52,22 +52,22 @@ describe('#getComponentUrl', () => {
describe('#getComponentIssuesUrl', () => {
it('should work without parameters', () => {
expect(getComponentIssuesUrl(SIMPLE_COMPONENT_KEY, {})).toBe(
- '/component_issues?id=' + SIMPLE_COMPONENT_KEY + '#');
+ '/component_issues?id=' + SIMPLE_COMPONENT_KEY + '#');
});
it('should encode component key', () => {
expect(getComponentIssuesUrl(COMPLEX_COMPONENT_KEY, {})).toBe(
- '/component_issues?id=' + COMPLEX_COMPONENT_KEY_ENCODED + '#');
+ '/component_issues?id=' + COMPLEX_COMPONENT_KEY_ENCODED + '#');
});
it('should work with parameters', () => {
expect(getComponentIssuesUrl(SIMPLE_COMPONENT_KEY, { resolved: 'false' })).toBe(
- '/component_issues?id=' + SIMPLE_COMPONENT_KEY + '#resolved=false');
+ '/component_issues?id=' + SIMPLE_COMPONENT_KEY + '#resolved=false');
});
it('should encode parameters', () => {
expect(getComponentIssuesUrl(SIMPLE_COMPONENT_KEY, { componentUuids: COMPLEX_COMPONENT_KEY })).toBe(
- '/component_issues?id=' + SIMPLE_COMPONENT_KEY + '#componentUuids=' + COMPLEX_COMPONENT_KEY_ENCODED);
+ '/component_issues?id=' + SIMPLE_COMPONENT_KEY + '#componentUuids=' + COMPLEX_COMPONENT_KEY_ENCODED);
});
});