mirror of
https://github.com/hexastack/hexabot
synced 2025-06-26 18:27:28 +00:00
fix: controller unit test
This commit is contained in:
parent
44a42e474d
commit
f2fede7e68
@ -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(
|
||||
|
Loading…
Reference in New Issue
Block a user