summaryrefslogtreecommitdiffstats
path: root/openecomp-ui/test/licenseModel/overview/views.test.js
diff options
context:
space:
mode:
Diffstat (limited to 'openecomp-ui/test/licenseModel/overview/views.test.js')
-rw-r--r--openecomp-ui/test/licenseModel/overview/views.test.js8
1 files changed, 4 insertions, 4 deletions
diff --git a/openecomp-ui/test/licenseModel/overview/views.test.js b/openecomp-ui/test/licenseModel/overview/views.test.js
index 3d57c9355e..20b733d64e 100644
--- a/openecomp-ui/test/licenseModel/overview/views.test.js
+++ b/openecomp-ui/test/licenseModel/overview/views.test.js
@@ -15,8 +15,8 @@
*/
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 {scryRenderedDOMComponentsWithTestId} from 'test-utils/Util.js';
import SummaryView from 'sdc-app/onboarding/licenseModel/overview/SummaryView.jsx';
import LicenseModelOverviewView from 'sdc-app/onboarding/licenseModel/overview/LicenseModelOverviewView.jsx';
@@ -38,7 +38,7 @@ describe('License Model Overview - View: ', function () {
const baseLAData = LicenseAgreementListItemFactory.build({isCollapse: false});
it('should render SummaryView', () => {
- const renderer = new ShallowRenderer();
+ var renderer = TestUtils.createRenderer();
renderer.render(
<SummaryView isReadOnly={false} />
);
@@ -61,7 +61,7 @@ describe('License Model Overview - View: ', function () {
selectedTab: selectedButton.VLM_LIST_VIEW,
onTabSelect: () => {}
};
- const renderer = new ShallowRenderer();
+ var renderer = TestUtils.createRenderer();
renderer.render(
<LicenseModelOverviewView {...params}/>
);