feat(catalog_calculate): refs #8408 new concept availabled #3425
|
@ -29,9 +29,9 @@ describe('entry_isEditable trigger', () => {
|
|||
});
|
||||
|
||||
async function prepareEntry(isBooked, typeFk) {
|
||||
let newCreated = Date.vnNew();
|
||||
const companyFk = 69;
|
||||
await entry.updateAttributes({isBooked, typeFk}, options);
|
||||
await entry.updateAttributes({dated: newCreated}, options);
|
||||
await entry.updateAttributes({companyFk}, options);
|
||||
}
|
||||
|
||||
it('should throw an error when entry is booked and typeFk is null', async() => {
|
||||
|
|
Loading…
Reference in New Issue