update backTest
gitea/salix/pipeline/head This commit looks good Details

This commit is contained in:
Vicent Llopis 2021-11-10 08:46:09 +01:00
parent 395ad1c76d
commit 18aec14fe9
2 changed files with 2 additions and 1 deletions

View File

@ -20,7 +20,7 @@ describe('loopback model Supplier', () => {
const expectedError = 'You can not select this payment method without a registered bankery account';
const supplier = await app.models.Supplier.findById(1);
await supplier.updateAttribute('payMethodFk', 4)
await supplier.updateAttribute('payMethodFk', 8)
.catch(e => {
error = e;
@ -37,6 +37,7 @@ describe('loopback model Supplier', () => {
.catch(e => {
error = e;
});
console.log(error);
expect(error).toBeDefined();
});