Fixed code smell 'Update this function so that its implementation is not identical' reported by SonarQube.

This commit is contained in:
Akshay Joshi
2022-01-31 20:04:04 +05:30
parent bc0b25d995
commit b9e533e31a
13 changed files with 749 additions and 1583 deletions

View File

@@ -243,6 +243,11 @@ describe('FunctionSchema', ()=>{
});
let initDataProc = ()=>Promise.resolve({
sysfunc: true,
type: 'procedure',
});
it('proiswindow visible', ()=>{
@@ -285,12 +290,7 @@ describe('FunctionSchema', ()=>{
}
);
let initData = ()=>Promise.resolve({
sysfunc: true,
type: 'procedure',
});
mount(getEditView(editSchemaObj, initData));
mount(getEditView(editSchemaObj, initDataProc));
});
it('proiswindow visible', ()=>{
@@ -389,13 +389,7 @@ describe('FunctionSchema', ()=>{
}
);
let initData = ()=>Promise.resolve({
sysfunc: true,
type: 'procedure',
});
mount(getEditView(editSchemaObj, initData));
mount(getEditView(editSchemaObj, initDataProc));
});
it('probin visible', ()=>{