aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-web/src/main/js/apps/tutorials
diff options
context:
space:
mode:
authorWouter Admiraal <wouter.admiraal@sonarsource.com>2019-04-12 14:48:20 +0200
committerSonarTech <sonartech@sonarsource.com>2019-04-25 20:21:05 +0200
commita247dc044b37a7a26011020641aad5d8ec4ff4e9 (patch)
tree1ddefaceb073b12ea0acfa5e871bd050fb1a8e95 /server/sonar-web/src/main/js/apps/tutorials
parent47721c94b09f02c0e636dd9671de15c3611357fe (diff)
downloadsonarqube-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')
-rw-r--r--server/sonar-web/src/main/js/apps/tutorials/components/__tests__/NewProjectForm-test.tsx2
-rw-r--r--server/sonar-web/src/main/js/apps/tutorials/components/__tests__/__snapshots__/NewProjectForm-test.tsx.snap4
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>