update backTest
gitea/salix/pipeline/head This commit looks good
Details
gitea/salix/pipeline/head This commit looks good
Details
This commit is contained in:
parent
395ad1c76d
commit
18aec14fe9
|
@ -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();
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue