diff options
author | Duarte Meneses <duarte.meneses@sonarsource.com> | 2019-02-27 10:51:39 -0600 |
---|---|---|
committer | SonarTech <sonartech@sonarsource.com> | 2019-03-11 20:21:04 +0100 |
commit | 6d364c32663592133d82578230d584f00644aae5 (patch) | |
tree | c6f550c7705a33c741eece0a95cffaaf5a19d89b /server/sonar-web | |
parent | 647dc8cfd595d8cc6590a1f51aecf512a8b5786b (diff) | |
download | sonarqube-6d364c32663592133d82578230d584f00644aae5.tar.gz sonarqube-6d364c32663592133d82578230d584f00644aae5.zip |
SONAR-11776 Quality Gate failure conditions should be sorted
Diffstat (limited to 'server/sonar-web')
-rw-r--r-- | server/sonar-web/src/main/js/app/components/nav/component/__tests__/ComponentNavMeta-test.tsx | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/server/sonar-web/src/main/js/app/components/nav/component/__tests__/ComponentNavMeta-test.tsx b/server/sonar-web/src/main/js/app/components/nav/component/__tests__/ComponentNavMeta-test.tsx index 1c854d25195..8888565e814 100644 --- a/server/sonar-web/src/main/js/app/components/nav/component/__tests__/ComponentNavMeta-test.tsx +++ b/server/sonar-web/src/main/js/app/components/nav/component/__tests__/ComponentNavMeta-test.tsx @@ -23,7 +23,6 @@ import { ComponentNavMeta } from '../ComponentNavMeta'; import { mockShortLivingBranch, mockComponent, - mockCurrentUser, mockLongLivingBranch, mockPullRequest } from '../../../../../helpers/testMocks'; @@ -51,7 +50,9 @@ function shallowRender(props = {}) { <ComponentNavMeta branchLike={mockShortLivingBranch()} component={mockComponent({ analysisDate: '2017-01-02T00:00:00.000Z', version: '0.0.1' })} - currentUser={mockCurrentUser({ isLoggedIn: false })} + currentUser={{ + isLoggedIn: false + }} warnings={[]} {...props} /> |