Fix test, remove console log
gitea/salix/pipeline/head There was a failure building this commit
Details
gitea/salix/pipeline/head There was a failure building this commit
Details
This commit is contained in:
parent
7b04464848
commit
296a743d8a
|
@ -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();
|
||||
|
||||
|
|
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in New Issue