fix: fix unit test

This commit is contained in:
Abdalhamid Alhamad
2024-12-05 11:27:36 +03:00
parent 2577f2dcac
commit 26b2d153fd

View File

@ -34,7 +34,7 @@ describe('ValidationPipe', () => {
transform: true, transform: true,
validateCustomDecorators: true, validateCustomDecorators: true,
stopAtFirstError: true, stopAtFirstError: true,
forbidNonWhitelisted: false, forbidNonWhitelisted: true,
dismissDefaultMessages: true, dismissDefaultMessages: true,
enableDebugMessages: true, enableDebugMessages: true,
exceptionFactory: i18nValidationErrorFactory, exceptionFactory: i18nValidationErrorFactory,