2612-create-supplier #1089

Merged
joan merged 21 commits from 2612-create-supplier into dev 2022-10-25 10:42:10 +00:00
2 changed files with 0 additions and 3 deletions
Showing only changes of commit 296a743d8a - Show all commits

View File

@ -33,7 +33,6 @@ module.exports = Self => {
try {
const supplier = await models.Supplier.create(params, myOptions);
console.log('supplier: ', supplier);
if (tx) await tx.commit();

View File

@ -17,8 +17,6 @@ describe('Supplier newSupplier()', () => {
let result = await app.models.Supplier.newSupplier(JSON.stringify(newSupp));
result = result.supplier;
expect(result.name).toEqual('TestSupplier-1');
expect(result.id).toEqual(443);