summaryrefslogtreecommitdiffstats
path: root/openecomp-ui/test/licenseModel/creation/LicenseModelCreation.test.js
diff options
context:
space:
mode:
Diffstat (limited to 'openecomp-ui/test/licenseModel/creation/LicenseModelCreation.test.js')
-rw-r--r--openecomp-ui/test/licenseModel/creation/LicenseModelCreation.test.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/openecomp-ui/test/licenseModel/creation/LicenseModelCreation.test.js b/openecomp-ui/test/licenseModel/creation/LicenseModelCreation.test.js
index 9c8043b943..9537ea2e2f 100644
--- a/openecomp-ui/test/licenseModel/creation/LicenseModelCreation.test.js
+++ b/openecomp-ui/test/licenseModel/creation/LicenseModelCreation.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/licenseModel/creation/LicenseModelCreation.js';
import LicenseModelCreationView from 'sdc-app/onboarding/licenseModel/creation/LicenseModelCreationView.jsx';
import {LicenseModelCreationFactory} from 'test-utils/factories/licenseModel/LicenseModelFactories.js';
@@ -66,7 +66,7 @@ describe('License Model Creation Module Tests', function() {
it('simple jsx test', () => {
let data = LicenseModelCreationFactory.build();
- const renderer = new ShallowRenderer();
+ var renderer = TestUtils.createRenderer();
renderer.render(
<LicenseModelCreationView
data={data}