diff options
author | Philippe Perrin <philippe.perrin@sonarsource.com> | 2022-10-19 14:46:14 +0200 |
---|---|---|
committer | sonartech <sonartech@sonarsource.com> | 2022-10-21 20:03:18 +0000 |
commit | 8a3b8052254c1198495ef26abc024d26917bdef0 (patch) | |
tree | fb3621f0caa3ee1c9690ab309b10049302a0a648 /server/sonar-web/src/main/js/helpers/__tests__/handleRequiredAuthentication-test.ts | |
parent | 067e6587f1423b9b14cc7094422d47971c734764 (diff) | |
download | sonarqube-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.ts | 2 |
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'); }); |