diff options
author | Ashwin Sharma <ashwin.shyam.sharma@att.com> | 2020-02-27 17:24:52 +0000 |
---|---|---|
committer | Ashwin Sharma <ashwin.shyam.sharma@att.com> | 2020-02-27 20:29:05 +0000 |
commit | 393bbb59b975747723c6801da2a5b151c542a0b5 (patch) | |
tree | 9ca4c7d418c3489a566be7903f97d43ce5553921 /ui-react/src/components/dialogs/Tosca/UploadToscaPolicyModal.test.js | |
parent | d2a4df0b62b6a32c42bac45b4bee344016faa8fb (diff) |
Upload Tosca Model changes to remove policy model type parsing from UI.
Dictionary API fix to allow bulk create or update of dictionary elements.
Issue-ID: CLAMP-656
Change-Id: I6a0a36a6be40a098d917c45462872d31b7f47dd2
Signed-off-by: Ashwin Sharma <ashwin.shyam.sharma@att.com>
Diffstat (limited to 'ui-react/src/components/dialogs/Tosca/UploadToscaPolicyModal.test.js')
-rw-r--r-- | ui-react/src/components/dialogs/Tosca/UploadToscaPolicyModal.test.js | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/ui-react/src/components/dialogs/Tosca/UploadToscaPolicyModal.test.js b/ui-react/src/components/dialogs/Tosca/UploadToscaPolicyModal.test.js index dac8ac92..e4842062 100644 --- a/ui-react/src/components/dialogs/Tosca/UploadToscaPolicyModal.test.js +++ b/ui-react/src/components/dialogs/Tosca/UploadToscaPolicyModal.test.js @@ -27,22 +27,6 @@ import UploadToscaPolicyModal from './UploadToscaPolicyModal'; describe('Test Upload Tosca Policy Model', () => { - it('Test handleMicroServiceName', () => { - - const component = shallow(<UploadToscaPolicyModal />); - - const inputValue = 'TCA' - - const button = component.find('input').at(1); - - button.simulate('change', { target: { value: inputValue }}); - - expect(component.state('policyModelType')).toEqual(inputValue); - - expect(component).toMatchSnapshot(); - - }); - it('Test handleUploadToscaPolicyModel for Tosca Model', () => { const component = shallow(<UploadToscaPolicyModal />); |