getTotal remove ()
gitea/salix/pipeline/head This commit looks good Details

This commit is contained in:
Javi Gallego 2022-01-24 15:35:32 +01:00
parent 6d66ab7bea
commit dad4119300
2 changed files with 2 additions and 2 deletions

View File

@ -38,6 +38,6 @@ module.exports = Self => {
WHERE WHERE
ii.id = ?`, [id, id]); ii.id = ?`, [id, id]);
return (result); return result;
}; };
}; };

View File

@ -37,7 +37,7 @@ describe('vnInvoiceInDescriptor', () => {
}); });
describe('checkToBook()', () => { describe('checkToBook()', () => {
it(`should show both warning messages`, () => { it(`should show a warning before book`, () => {
controller.$.confirmToBookAnyway = {show: () => {}}; controller.$.confirmToBookAnyway = {show: () => {}};
jest.spyOn(controller.$.confirmToBookAnyway, 'show'); jest.spyOn(controller.$.confirmToBookAnyway, 'show');