summaryrefslogtreecommitdiffstats
path: root/openecomp-ui/test/softwareProduct/deployment/SoftwareProductDeploymentEditor.test.js
diff options
context:
space:
mode:
authorsvishnev <shlomo-stanisla.vishnevetskiy@amdocs.com>2018-01-18 17:52:06 +0200
committerVitaly Emporopulo <Vitaliy.Emporopulo@amdocs.com>2018-01-21 11:11:06 +0000
commitaa2eece0e8559be66454b757cae4bbccb59ea828 (patch)
tree98ee345e434b11f433688ed104bb62e432dad623 /openecomp-ui/test/softwareProduct/deployment/SoftwareProductDeploymentEditor.test.js
parent30e728d280b77193500a7f0941db336ee60b80a6 (diff)
react-version-downgrade
Issue-ID: SDC-943 Change-Id: Ief0b0cf4f21a8c739521ecd869b48f8ad69fcb0f Signed-off-by: svishnev <shlomo-stanisla.vishnevetskiy@amdocs.com>
Diffstat (limited to 'openecomp-ui/test/softwareProduct/deployment/SoftwareProductDeploymentEditor.test.js')
-rw-r--r--openecomp-ui/test/softwareProduct/deployment/SoftwareProductDeploymentEditor.test.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/openecomp-ui/test/softwareProduct/deployment/SoftwareProductDeploymentEditor.test.js b/openecomp-ui/test/softwareProduct/deployment/SoftwareProductDeploymentEditor.test.js
index 79b041cc2d..3d0f7fca2d 100644
--- a/openecomp-ui/test/softwareProduct/deployment/SoftwareProductDeploymentEditor.test.js
+++ b/openecomp-ui/test/softwareProduct/deployment/SoftwareProductDeploymentEditor.test.js
@@ -14,8 +14,8 @@
* limitations under the License.
*/
import React from 'react';
-import ShallowRenderer from 'react-test-renderer/shallow';
-import TestUtils from 'react-dom/test-utils';
+
+import TestUtils from 'react-addons-test-utils';
import { mapStateToProps } from 'sdc-app/onboarding/softwareProduct/deployment/editor/SoftwareProductDeploymentEditor.js';
import SoftwareProductDeploymentEditorView from 'sdc-app/onboarding/softwareProduct/deployment/editor/SoftwareProductDeploymentEditorView.jsx';
import { VSPComponentsFactory } from 'test-utils/factories/softwareProduct/SoftwareProductComponentsFactories.js';
@@ -67,7 +67,7 @@ describe('Software Product Deployment Editor Module Tests', function () {
it('jsx view test', () => {
const componentsList = VSPComponentsFactory.buildList(1);
- const renderer = new ShallowRenderer();
+ var renderer = TestUtils.createRenderer();
renderer.render(
<SoftwareProductDeploymentEditorView
isReadOnlyMode={true}