arreglo bug en createFromSales backTest
This commit is contained in:
parent
bd6bebaf49
commit
03c6aef542
|
@ -24,7 +24,7 @@ describe('Claim Create', () => {
|
|||
let params = {claim: newClaim, sales: newSale};
|
||||
|
||||
it('should create a new claim', async() => {
|
||||
let claim = await app.models.Claim.update(params);
|
||||
let claim = await app.models.Claim.createFromSales(params);
|
||||
|
||||
expect(claim.ticketFk).toEqual(newClaim.ticketFk);
|
||||
expect(claim.clientFk).toEqual(newClaim.clientFk);
|
||||
|
|
Loading…
Reference in New Issue