summaryrefslogtreecommitdiffstats
path: root/openecomp-ui/test/licenseModel/overview/summary/VendorDataView.test.js
diff options
context:
space:
mode:
authorAvi Gaffa <avi.gaffa@amdocs.com>2017-11-02 12:31:42 +0000
committerGerrit Code Review <gerrit@onap.org>2017-11-02 12:31:42 +0000
commit925963725a69700137c755bd007de7ff8e096f94 (patch)
tree3a189b98471ed055dc3859461b4ab65016b0d363 /openecomp-ui/test/licenseModel/overview/summary/VendorDataView.test.js
parent6c38d5077177961856446f82b6190e11ffcf0fc7 (diff)
parent6ef2c123721eb0061be3d6ece1e00349aadf7392 (diff)
Merge "VLM overview - refactor of edit description input"
Diffstat (limited to 'openecomp-ui/test/licenseModel/overview/summary/VendorDataView.test.js')
-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();
});