summaryrefslogtreecommitdiffstats
path: root/openecomp-ui/test/softwareProduct/attachments/validation
diff options
context:
space:
mode:
Diffstat (limited to 'openecomp-ui/test/softwareProduct/attachments/validation')
-rw-r--r--openecomp-ui/test/softwareProduct/attachments/validation/HeatValidationView.test.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/openecomp-ui/test/softwareProduct/attachments/validation/HeatValidationView.test.js b/openecomp-ui/test/softwareProduct/attachments/validation/HeatValidationView.test.js
index 8dee07d77b..3b7c3b7edb 100644
--- a/openecomp-ui/test/softwareProduct/attachments/validation/HeatValidationView.test.js
+++ b/openecomp-ui/test/softwareProduct/attachments/validation/HeatValidationView.test.js
@@ -15,7 +15,7 @@
*/
import React from 'react';
-import ShallowRenderer from 'react-test-renderer/shallow';
+import TestUtils from 'react-addons-test-utils';
import {mapStateToProps} from 'sdc-app/onboarding/softwareProduct/attachments/validation/HeatValidation.js';
import HeatValidationView from 'sdc-app/onboarding/softwareProduct/attachments/validation/HeatValidationView.jsx';
@@ -165,7 +165,7 @@ describe('SoftwareProductAttachments Modal Mapper and View Classes', () => {
var onDeSelect = () => { return null; } ;
var onToggle = () => { return null; } ;
- const renderer = new ShallowRenderer();
+ var renderer = TestUtils.createRenderer();
renderer.render(<HeatValidationView
attachmentsTree={atTree}
errorList={errorList}