aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-web/src/main/js/apps/about
diff options
context:
space:
mode:
authorJeremy Davis <jeremy.davis@sonarsource.com>2020-12-16 18:18:11 +0100
committersonartech <sonartech@sonarsource.com>2020-12-22 20:09:37 +0000
commitd83e1ab9825c2c14256a6680bf44d75c13ea4d5a (patch)
tree97d6e51f3823f1988fb7509d5dc8f0562ef2f40f /server/sonar-web/src/main/js/apps/about
parentd30fb63f3535dd0a4643f5123f38b5755d34de53 (diff)
downloadsonarqube-d83e1ab9825c2c14256a6680bf44d75c13ea4d5a.tar.gz
sonarqube-d83e1ab9825c2c14256a6680bf44d75c13ea4d5a.zip
SONAR-13999 Drop frontend organizations leftovers
Diffstat (limited to 'server/sonar-web/src/main/js/apps/about')
-rw-r--r--server/sonar-web/src/main/js/apps/about/components/AboutApp.tsx1
-rw-r--r--server/sonar-web/src/main/js/apps/about/components/__tests__/AboutApp-test.tsx3
2 files changed, 1 insertions, 3 deletions
diff --git a/server/sonar-web/src/main/js/apps/about/components/AboutApp.tsx b/server/sonar-web/src/main/js/apps/about/components/AboutApp.tsx
index 0ab48488566..45176f84086 100644
--- a/server/sonar-web/src/main/js/apps/about/components/AboutApp.tsx
+++ b/server/sonar-web/src/main/js/apps/about/components/AboutApp.tsx
@@ -48,7 +48,6 @@ import AboutStandards from './AboutStandards';
import EntryIssueTypes from './EntryIssueTypes';
interface Props {
- appState: Pick<T.AppState, 'defaultOrganization' | 'organizationsEnabled'>;
currentUser: T.CurrentUser;
customText?: string;
fetchAboutPageSettings: () => Promise<void>;
diff --git a/server/sonar-web/src/main/js/apps/about/components/__tests__/AboutApp-test.tsx b/server/sonar-web/src/main/js/apps/about/components/__tests__/AboutApp-test.tsx
index a1393845948..70854f1d2a2 100644
--- a/server/sonar-web/src/main/js/apps/about/components/__tests__/AboutApp-test.tsx
+++ b/server/sonar-web/src/main/js/apps/about/components/__tests__/AboutApp-test.tsx
@@ -23,7 +23,7 @@ import { addWhitePageClass, removeWhitePageClass } from 'sonar-ui-common/helpers
import { waitAndUpdate } from 'sonar-ui-common/helpers/testUtils';
import { searchProjects } from '../../../../api/components';
import { getFacet } from '../../../../api/issues';
-import { mockAppState, mockCurrentUser, mockLocation } from '../../../../helpers/testMocks';
+import { mockCurrentUser, mockLocation } from '../../../../helpers/testMocks';
import { AboutApp } from '../AboutApp';
import EntryIssueTypes from '../EntryIssueTypes';
@@ -88,7 +88,6 @@ it('should not display issues if the WS return an http error', async () => {
function shallowRender(props: Partial<AboutApp['props']> = {}) {
return shallow(
<AboutApp
- appState={mockAppState()}
currentUser={mockCurrentUser()}
customText="Lorem ipsum"
fetchAboutPageSettings={jest.fn().mockResolvedValue('')}