fix updatePrice
gitea/salix/dev This commit looks good
Details
gitea/salix/dev This commit looks good
Details
This commit is contained in:
parent
3a338739d1
commit
082c292ed7
|
@ -8,9 +8,9 @@ describe('sale updatePrice()', () => {
|
|||
let saleId = 13;
|
||||
|
||||
afterAll(async done => {
|
||||
originalSale.save();
|
||||
createdSaleComponent.destroy();
|
||||
originalSalesPersonMana.save();
|
||||
await originalSale.save();
|
||||
await app.models.SaleComponent.updateAll({componentFk: 37, saleFk: saleId}, {value: 0});
|
||||
await originalSalesPersonMana.save();
|
||||
|
||||
done();
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue