aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-web/src/main/js/apps/projectsManagement/__tests__
diff options
context:
space:
mode:
authorStas Vilchik <stas.vilchik@sonarsource.com>2018-03-13 10:51:29 +0100
committerSonarTech <sonartech@sonarsource.com>2018-03-22 12:37:48 +0100
commit8335168f11c4b8b6bd905e3a883c001352ab234d (patch)
tree26e45213ffe49d078796b0c62cd38233fadbb9c3 /server/sonar-web/src/main/js/apps/projectsManagement/__tests__
parentc1d442b81d2cca0d5b9f16c6121ed039745504f0 (diff)
downloadsonarqube-8335168f11c4b8b6bd905e3a883c001352ab234d.tar.gz
sonarqube-8335168f11c4b8b6bd905e3a883c001352ab234d.zip
drop unused web components
Diffstat (limited to 'server/sonar-web/src/main/js/apps/projectsManagement/__tests__')
-rw-r--r--server/sonar-web/src/main/js/apps/projectsManagement/__tests__/ProjectRowActions-test.tsx2
-rw-r--r--server/sonar-web/src/main/js/apps/projectsManagement/__tests__/__snapshots__/ProjectRowActions-test.tsx.snap6
2 files changed, 4 insertions, 4 deletions
diff --git a/server/sonar-web/src/main/js/apps/projectsManagement/__tests__/ProjectRowActions-test.tsx b/server/sonar-web/src/main/js/apps/projectsManagement/__tests__/ProjectRowActions-test.tsx
index 4c9e74dc1b1..b30e553d91d 100644
--- a/server/sonar-web/src/main/js/apps/projectsManagement/__tests__/ProjectRowActions-test.tsx
+++ b/server/sonar-web/src/main/js/apps/projectsManagement/__tests__/ProjectRowActions-test.tsx
@@ -44,7 +44,7 @@ it('restores access', async () => {
const wrapper = shallowRender();
expect(wrapper).toMatchSnapshot();
- wrapper.prop<Function>('onToggleClick')();
+ wrapper.prop<Function>('onOpen')();
await waitAndUpdate(wrapper);
expect(wrapper).toMatchSnapshot();
diff --git a/server/sonar-web/src/main/js/apps/projectsManagement/__tests__/__snapshots__/ProjectRowActions-test.tsx.snap b/server/sonar-web/src/main/js/apps/projectsManagement/__tests__/__snapshots__/ProjectRowActions-test.tsx.snap
index b824855ce96..61ea2fee3de 100644
--- a/server/sonar-web/src/main/js/apps/projectsManagement/__tests__/__snapshots__/ProjectRowActions-test.tsx.snap
+++ b/server/sonar-web/src/main/js/apps/projectsManagement/__tests__/__snapshots__/ProjectRowActions-test.tsx.snap
@@ -19,7 +19,7 @@ exports[`applies permission template 1`] = `
exports[`restores access 1`] = `
<ActionsDropdown
- onToggleClick={[Function]}
+ onOpen={[Function]}
>
<ActionsDropdownItem
className="js-apply-template"
@@ -32,7 +32,7 @@ exports[`restores access 1`] = `
exports[`restores access 2`] = `
<ActionsDropdown
- onToggleClick={[Function]}
+ onOpen={[Function]}
>
<ActionsDropdownItem
className="js-restore-access"
@@ -51,7 +51,7 @@ exports[`restores access 2`] = `
exports[`restores access 3`] = `
<ActionsDropdown
- onToggleClick={[Function]}
+ onOpen={[Function]}
>
<ActionsDropdownItem
className="js-restore-access"