Fixed dialog crash issue when added security label and changing the type to shell. Fixes #6744

This commit is contained in:
Rahul Shirsat
2021-10-05 17:24:16 +05:30
committed by Akshay Joshi
parent 4bbc811aed
commit bfb65e82aa
2 changed files with 28 additions and 17 deletions

View File

@@ -96,6 +96,9 @@ describe('TypeSchema', ()=>{
it('composite validate', () => {
let state = { typtype: 'b' }; //validating for ExternalSchema which is distinguish as r
let setError = jasmine.createSpy('setError');
compositeCollObj.top = {
'sessData': { 'typtype':'c' }
};
compositeCollObj.validate(state, setError);
expect(setError).toHaveBeenCalledWith('member_name', 'Please specify the value for member name.');