Skip to content

Commit d52d35b

Browse files
committed
Remove alert from azure+rhel combo
1 parent 137a93e commit d52d35b

File tree

2 files changed

+2
-7
lines changed

2 files changed

+2
-7
lines changed

src/components/FormComponents/SourceWizardSummary.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ const alertMapper = (appName, sourceType, intl) => {
4343
);
4444
}
4545

46-
if (appName === CLOUD_METER_APP_NAME && ['azure', 'google'].includes(sourceType)) {
46+
if (appName === CLOUD_METER_APP_NAME && ['google'].includes(sourceType)) {
4747
return (
4848
<Alert
4949
variant="info"

src/test/components/formComponents/sourceWizardSummary.test.js

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -271,7 +271,7 @@ describe('SourceWizardSummary component', () => {
271271
).toBeInTheDocument();
272272
});
273273

274-
it('azure rhel management - include error message', () => {
274+
it('azure rhel management', () => {
275275
formOptions = {
276276
getState: () => ({
277277
values: {
@@ -293,11 +293,6 @@ describe('SourceWizardSummary component', () => {
293293
['Source type', 'Microsoft Azure'],
294294
['Application', 'RHEL management'],
295295
]);
296-
297-
expect(screen.getByText('This source will not be monitored in Sources')).toBeInTheDocument();
298-
expect(
299-
screen.getByText('This source will be represented in the Sources list, but will not reflect true status or resources.')
300-
).toBeInTheDocument();
301296
});
302297

303298
it('google rhel management - include error message', () => {

0 commit comments

Comments
 (0)