mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2025-02-25 18:55:31 -06:00
Fixed jasmine test cases.
This commit is contained in:
committed by
Akshay Joshi
parent
6b100b60f8
commit
7330b3520f
@@ -46,9 +46,6 @@ describe('PartitionTableSchema', ()=>{
|
||||
}
|
||||
}
|
||||
});
|
||||
schemaObj.top = schemaObj;
|
||||
schemaObj.top.getCollations = ()=>Promise.resolve({});
|
||||
schemaObj.top.getOperatorClass = ()=>Promise.resolve({});
|
||||
});
|
||||
|
||||
afterAll(() => {
|
||||
|
||||
@@ -55,10 +55,6 @@ describe('PartitionKeysSchema', ()=>{
|
||||
spyOn(nodeAjax, 'getNodeAjaxOptions').and.returnValue(Promise.resolve([]));
|
||||
spyOn(nodeAjax, 'getNodeListByName').and.returnValue(Promise.resolve([]));
|
||||
let partitionObj = new PartitionKeysSchema();
|
||||
partitionObj.top = {
|
||||
getCollations : ()=>{},
|
||||
getOperatorClass : ()=>{},
|
||||
};
|
||||
schemaObj = new SchemaInColl(partitionObj);
|
||||
});
|
||||
|
||||
@@ -171,8 +167,6 @@ describe('PartitionsSchema', ()=>{
|
||||
spyOn(nodeAjax, 'getNodeListByName').and.returnValue(Promise.resolve([]));
|
||||
schemaObj = new PartitionsSchema();
|
||||
schemaObj.top = schemaObj;
|
||||
schemaObj.top.getCollations = ()=>Promise.resolve({});
|
||||
schemaObj.top.getOperatorClass = ()=>Promise.resolve({});
|
||||
});
|
||||
|
||||
afterAll(() => {
|
||||
|
||||
Reference in New Issue
Block a user