diff options
author | Wouter Admiraal <wouter.admiraal@sonarsource.com> | 2019-04-12 14:48:20 +0200 |
---|---|---|
committer | SonarTech <sonartech@sonarsource.com> | 2019-04-25 20:21:05 +0200 |
commit | a247dc044b37a7a26011020641aad5d8ec4ff4e9 (patch) | |
tree | 1ddefaceb073b12ea0acfa5e871bd050fb1a8e95 /server/sonar-web/src/main/js/apps/tutorials | |
parent | 47721c94b09f02c0e636dd9671de15c3611357fe (diff) | |
download | sonarqube-a247dc044b37a7a26011020641aad5d8ec4ff4e9.tar.gz sonarqube-a247dc044b37a7a26011020641aad5d8ec4ff4e9.zip |
SONAR-11746 Replace 'x' icon for delete actions
Diffstat (limited to 'server/sonar-web/src/main/js/apps/tutorials')
2 files changed, 3 insertions, 3 deletions
diff --git a/server/sonar-web/src/main/js/apps/tutorials/components/__tests__/NewProjectForm-test.tsx b/server/sonar-web/src/main/js/apps/tutorials/components/__tests__/NewProjectForm-test.tsx index 60a604bf7c7..0cb47e200d4 100644 --- a/server/sonar-web/src/main/js/apps/tutorials/components/__tests__/NewProjectForm-test.tsx +++ b/server/sonar-web/src/main/js/apps/tutorials/components/__tests__/NewProjectForm-test.tsx @@ -27,7 +27,7 @@ jest.mock('../../../../api/components', () => ({ deleteProject: () => Promise.resolve() })); -jest.mock('../../../../components/icons-components/ClearIcon'); +jest.mock('../../../../components/icons-components/DeleteIcon'); it('creates new project', async () => { const onDone = jest.fn(); diff --git a/server/sonar-web/src/main/js/apps/tutorials/components/__tests__/__snapshots__/NewProjectForm-test.tsx.snap b/server/sonar-web/src/main/js/apps/tutorials/components/__tests__/__snapshots__/NewProjectForm-test.tsx.snap index b043072b6a9..94a01466fdb 100644 --- a/server/sonar-web/src/main/js/apps/tutorials/components/__tests__/__snapshots__/NewProjectForm-test.tsx.snap +++ b/server/sonar-web/src/main/js/apps/tutorials/components/__tests__/__snapshots__/NewProjectForm-test.tsx.snap @@ -157,7 +157,7 @@ exports[`creates new project 3`] = ` } type="button" > - <ClearIcon /> + <DeleteIcon /> </button> </Button> </ButtonIcon> @@ -215,7 +215,7 @@ exports[`deletes project 1`] = ` } type="button" > - <ClearIcon /> + <DeleteIcon /> </button> </Button> </ButtonIcon> |