mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2025-02-25 18:55:31 -06:00
Fixed dialog crash issue when added security label and changing the type to shell. Fixes #6744
This commit is contained in:
committed by
Akshay Joshi
parent
4bbc811aed
commit
bfb65e82aa
@@ -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.');
|
||||
|
||||
Reference in New Issue
Block a user