aboutsummaryrefslogtreecommitdiffstats
path: root/openecomp-ui/test/licenseModel/overview
diff options
context:
space:
mode:
authormiriame <miriam.eini@amdocs.com>2017-10-29 13:59:52 +0200
committermiriame <miriam.eini@amdocs.com>2017-11-02 13:56:22 +0200
commit6ef2c123721eb0061be3d6ece1e00349aadf7392 (patch)
tree6557acfa000760c8f3e730cb87159c030acbfb6b /openecomp-ui/test/licenseModel/overview
parentbc51da2e2c262648993b80d27f0872bbbc4ef983 (diff)
VLM overview - refactor of edit description input
Change-Id: I8ba60ecdd9febacdf77bc354bd969462d8bae3e6 Issue-ID: SDC-552 Signed-off-by: miriame <miriam.eini@amdocs.com>
Diffstat (limited to 'openecomp-ui/test/licenseModel/overview')
-rw-r--r--openecomp-ui/test/licenseModel/overview/summary/VendorDataView.test.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/openecomp-ui/test/licenseModel/overview/summary/VendorDataView.test.js b/openecomp-ui/test/licenseModel/overview/summary/VendorDataView.test.js
index 8fea3e4b90..7ec85a456b 100644
--- a/openecomp-ui/test/licenseModel/overview/summary/VendorDataView.test.js
+++ b/openecomp-ui/test/licenseModel/overview/summary/VendorDataView.test.js
@@ -34,14 +34,14 @@ describe('License Model Overview Summary module test', () => {
var props = mapStateToProps(state);
expect(props.isReadOnlyMode).toEqual(true);
- expect(props.description).toEqual(null);
+ expect(props.description).toEqual(undefined);
expect(props.data).toEqual(state.licenseModel.licenseModelEditor.data);
});
it('jsx view test', () => {
var data = LicenseModelStoreFactory.build();
- var view = TestUtils.renderIntoDocument(<VendorDataView isReadOnlyMode={false} description='' data={data} />);
+ var view = TestUtils.renderIntoDocument(<VendorDataView isReadOnlyMode={false} description='' data={data} genericFieldInfo={{description: {isValid: true}}}/>);
expect(view).toBeTruthy();
});