Fix test, remove console log
gitea/salix/pipeline/head There was a failure building this commit Details

This commit is contained in:
Pau 2022-10-25 12:25:56 +02:00
parent 7b04464848
commit 296a743d8a
2 changed files with 0 additions and 3 deletions

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