aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-web/src/main/js/apps/system
diff options
context:
space:
mode:
authorJeremy Davis <jeremy.davis@sonarsource.com>2024-11-05 18:07:01 +0100
committersonartech <sonartech@sonarsource.com>2024-11-13 20:05:48 +0000
commit29168ab9565bcc29a752a58efb3c09848f7b2b03 (patch)
tree9c1435e35e724a829fb5a5856ba4049d5e3d1887 /server/sonar-web/src/main/js/apps/system
parentb2a3c8a65a92fdac25042a05cd37c43fa18c67c3 (diff)
downloadsonarqube-29168ab9565bcc29a752a58efb3c09848f7b2b03.tar.gz
sonarqube-29168ab9565bcc29a752a58efb3c09848f7b2b03.zip
SONAR-23596 New branding
SONAR-23597 SONAR-23598 SONAR-23595
Diffstat (limited to 'server/sonar-web/src/main/js/apps/system')
-rw-r--r--server/sonar-web/src/main/js/apps/system/components/__tests__/SystemApp-it.tsx6
1 files changed, 5 insertions, 1 deletions
diff --git a/server/sonar-web/src/main/js/apps/system/components/__tests__/SystemApp-it.tsx b/server/sonar-web/src/main/js/apps/system/components/__tests__/SystemApp-it.tsx
index f15e9e0128d..bd30797fb90 100644
--- a/server/sonar-web/src/main/js/apps/system/components/__tests__/SystemApp-it.tsx
+++ b/server/sonar-web/src/main/js/apps/system/components/__tests__/SystemApp-it.tsx
@@ -23,8 +23,10 @@ import userEvent from '@testing-library/user-event';
import { first } from 'lodash';
import { byRole, byText } from '~sonar-aligned/helpers/testSelector';
import SystemServiceMock from '../../../../api/mocks/SystemServiceMock';
+import { mockAppState } from '../../../../helpers/testMocks';
import { renderAppRoutes } from '../../../../helpers/testReactTestingUtils';
import { AppState } from '../../../../types/appstate';
+import { EditionKey } from '../../../../types/editions';
import routes from '../../routes';
import { LogsLevels } from '../../utils';
@@ -125,7 +127,9 @@ describe('System Info Cluster', () => {
});
function renderSystemApp(appState?: AppState) {
- return renderAppRoutes('system', routes, { appState });
+ return renderAppRoutes('system', routes, {
+ appState: mockAppState({ edition: EditionKey.developer, ...appState }),
+ });
}
function getPageObjects() {