mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2024-11-22 00:37:36 -06:00
Fix failing JS test cases after scale related commit. #6851
This commit is contained in:
parent
221af6caa6
commit
6ba9c192ce
@ -121,7 +121,7 @@ describe('ColumnSchema', ()=>{
|
||||
it('attprecisionRange', ()=>{
|
||||
schemaObj.datatypes = datatypes;
|
||||
let state = {cltype: 'numeric'};
|
||||
expect(schemaObj.attprecisionRange(state)).toEqual({min: 1, max: 140391});
|
||||
expect(schemaObj.attprecisionRange(state)).toEqual({min: -140391, max: 140391});
|
||||
});
|
||||
|
||||
it('inSchemaWithColumnCheck', ()=>{
|
||||
@ -161,7 +161,7 @@ describe('ColumnSchema', ()=>{
|
||||
|
||||
expect(getFieldDepChange(schemaObj, 'attprecision')(state)).toEqual({
|
||||
cltype: 'numeric',
|
||||
min_val_attprecision: 1,
|
||||
min_val_attprecision: -140391,
|
||||
max_val_attprecision: 140391,
|
||||
});
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user