fix: controller unit test

This commit is contained in:
Mohamed Marrouchi 2025-05-12 14:49:42 +01:00
parent 44a42e474d
commit f2fede7e68

View File

@ -290,11 +290,7 @@ describe('NlpEntityController', () => {
});
it('should update only the weight of the builtin entity', async () => {
const updatedNlpEntity: NlpEntityCreateDto = {
name: 'updated',
doc: '',
lookups: ['trait'],
builtin: false,
const updatedNlpEntity: NlpEntityUpdateDto = {
weight: 8,
};
const originalEntity: NlpEntity | null = await nlpEntityService.findOne(