mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2025-02-25 18:55:31 -06:00
Fix failing JS test cases after scale related commit. #6851
This commit is contained in:
@@ -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,
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user