aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-web/src/main/js/helpers/__tests__/handleRequiredAuthentication-test.ts
diff options
context:
space:
mode:
authorPhilippe Perrin <philippe.perrin@sonarsource.com>2022-10-19 14:46:14 +0200
committersonartech <sonartech@sonarsource.com>2022-10-21 20:03:18 +0000
commit8a3b8052254c1198495ef26abc024d26917bdef0 (patch)
treefb3621f0caa3ee1c9690ab309b10049302a0a648 /server/sonar-web/src/main/js/helpers/__tests__/handleRequiredAuthentication-test.ts
parent067e6587f1423b9b14cc7094422d47971c734764 (diff)
downloadsonarqube-8a3b8052254c1198495ef26abc024d26917bdef0.tar.gz
sonarqube-8a3b8052254c1198495ef26abc024d26917bdef0.zip
[NO-JIRA] Fix eslint errors
Diffstat (limited to 'server/sonar-web/src/main/js/helpers/__tests__/handleRequiredAuthentication-test.ts')
-rw-r--r--server/sonar-web/src/main/js/helpers/__tests__/handleRequiredAuthentication-test.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/sonar-web/src/main/js/helpers/__tests__/handleRequiredAuthentication-test.ts b/server/sonar-web/src/main/js/helpers/__tests__/handleRequiredAuthentication-test.ts
index 48ce7ea3071..eb637128ec4 100644
--- a/server/sonar-web/src/main/js/helpers/__tests__/handleRequiredAuthentication-test.ts
+++ b/server/sonar-web/src/main/js/helpers/__tests__/handleRequiredAuthentication-test.ts
@@ -46,5 +46,5 @@ afterAll(() => {
it('should not render for anonymous user', () => {
handleRequiredAuthentication();
- expect(replace).toBeCalledWith('/sessions/new?return_to=%2Fpath%3Fid%3D12%23tag');
+ expect(replace).toHaveBeenCalledWith('/sessions/new?return_to=%2Fpath%3Fid%3D12%23tag');
});