mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2024-11-22 08:46:39 -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', ()=>{
|
it('attprecisionRange', ()=>{
|
||||||
schemaObj.datatypes = datatypes;
|
schemaObj.datatypes = datatypes;
|
||||||
let state = {cltype: 'numeric'};
|
let state = {cltype: 'numeric'};
|
||||||
expect(schemaObj.attprecisionRange(state)).toEqual({min: 1, max: 140391});
|
expect(schemaObj.attprecisionRange(state)).toEqual({min: -140391, max: 140391});
|
||||||
});
|
});
|
||||||
|
|
||||||
it('inSchemaWithColumnCheck', ()=>{
|
it('inSchemaWithColumnCheck', ()=>{
|
||||||
@ -161,7 +161,7 @@ describe('ColumnSchema', ()=>{
|
|||||||
|
|
||||||
expect(getFieldDepChange(schemaObj, 'attprecision')(state)).toEqual({
|
expect(getFieldDepChange(schemaObj, 'attprecision')(state)).toEqual({
|
||||||
cltype: 'numeric',
|
cltype: 'numeric',
|
||||||
min_val_attprecision: 1,
|
min_val_attprecision: -140391,
|
||||||
max_val_attprecision: 140391,
|
max_val_attprecision: 140391,
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
Loading…
Reference in New Issue
Block a user