aboutsummaryrefslogtreecommitdiffstats
path: root/openecomp-ui/test/softwareProduct/details/detailsView.test.js
diff options
context:
space:
mode:
Diffstat (limited to 'openecomp-ui/test/softwareProduct/details/detailsView.test.js')
-rw-r--r--openecomp-ui/test/softwareProduct/details/detailsView.test.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/openecomp-ui/test/softwareProduct/details/detailsView.test.js b/openecomp-ui/test/softwareProduct/details/detailsView.test.js
index 1a5c5efbee..5516f9edaa 100644
--- a/openecomp-ui/test/softwareProduct/details/detailsView.test.js
+++ b/openecomp-ui/test/softwareProduct/details/detailsView.test.js
@@ -14,8 +14,8 @@
* limitations under the License.
*/
import React from 'react';
-import TestUtils from 'react-dom/test-utils';
-import ShallowRenderer from 'react-test-renderer/shallow';
+import TestUtils from 'react-addons-test-utils';
+
import {mapStateToProps} from 'sdc-app/onboarding/softwareProduct/details/SoftwareProductDetails.js';
import SoftwareProductDetailsView from 'sdc-app/onboarding/softwareProduct/details/SoftwareProductDetailsView.jsx';
import {VSPEditorFactory} from 'test-utils/factories/softwareProduct/SoftwareProductEditorFactories.js';
@@ -189,7 +189,7 @@ describe('Software Product Details: ', function () {
genericFieldInfo,
qGenericFieldInfo,
};
- const renderer = new ShallowRenderer();
+ var renderer = TestUtils.createRenderer();
renderer.render(
<SoftwareProductDetailsView
{...params}