fixes #5522 Loggable - Deadlock en inserción múltiple #1430
|
@ -50,7 +50,7 @@ describe('Item editFixedPrice()', () => {
|
||||||
|
|
||||||
await models.FixedPrice.editFixedPrice(ctx, field, newValue, null, filter, options);
|
await models.FixedPrice.editFixedPrice(ctx, field, newValue, null, filter, options);
|
||||||
|
|
||||||
const [result] = await models.FixedPrice.filter(ctx, null, options);
|
const [result] = await models.FixedPrice.filter(ctx, filter, options);
|
||||||
|
|
||||||
expect(result[field]).toEqual(newValue);
|
expect(result[field]).toEqual(newValue);
|
||||||
|
|
||||||
|
|
|
@ -20,6 +20,9 @@
|
||||||
},
|
},
|
||||||
"created": {
|
"created": {
|
||||||
"type": "date"
|
"type": "date"
|
||||||
|
},
|
||||||
|
"isChecked": {
|
||||||
|
"type": "boolean"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"relations": {
|
"relations": {
|
||||||
|
|
Loading…
Reference in New Issue