fix: prevent deleting absences for past dates #3346
|
@ -1,7 +1,7 @@
|
|||
const app = require('vn-loopback/server/server');
|
||||
const LoopBackContext = require('loopback-context');
|
||||
|
||||
fdescribe('Worker createAbsence()', () => {
|
||||
describe('Worker createAbsence()', () => {
|
||||
const workerId = 18;
|
||||
|
||||
it('should return an error for a user without enough privileges', async() => {
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
const app = require('vn-loopback/server/server');
|
||||
const LoopBackContext = require('loopback-context');
|
||||
|
||||
fdescribe('Worker deleteAbsence()', () => {
|
||||
describe('Worker deleteAbsence()', () => {
|
||||
const businessId = 18;
|
||||
const workerId = 18;
|
||||
const hrId = 37;
|
||||
|
|
Loading…
Reference in New Issue