From 725579ecb7e62b929d41a7e07d5e2c201dbca32b Mon Sep 17 00:00:00 2001 From: vivek kasture Date: Sun, 4 Aug 2024 00:56:29 +0530 Subject: [PATCH] Issue #PS-000 fix: Added jest test cases --- src/utils/Helper.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/utils/Helper.ts b/src/utils/Helper.ts index 816cd890..3a253604 100644 --- a/src/utils/Helper.ts +++ b/src/utils/Helper.ts @@ -50,7 +50,7 @@ export const generateUsernameAndPassword = ( role: string ) => { const currentYear = new Date().getFullYear().toString().slice(-2); // Last two digits of the current year - const randomNum = Math.floor(10000 + Math.random() * 90000).toString(); // 5 digit random number + const randomNum = Math.floor(10000 + Math.random() * 90000).toString(); const rolePrefixes: Record = { [FormContextType.TEACHER]: 'FSC',