3312-ibanRequired #772

Merged
carlosjr merged 4 commits from 3312-ibanRequired into dev 2021-11-15 08:52:57 +00:00
2 changed files with 2 additions and 1 deletions
Showing only changes of commit 18aec14fe9 - Show all commits

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();
});