Skip to content

Commit

Permalink
Issue #PS-000 fix: Added jest test cases
Browse files Browse the repository at this point in the history
  • Loading branch information
itsvick committed Aug 3, 2024
1 parent 725579e commit fb92a52
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/utils/Helper.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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();
const randomNum = Math.floor(10000 + Math.random() * 90000).toString(); //NOSONAR

const rolePrefixes: Record<string, string> = {
[FormContextType.TEACHER]: 'FSC',
Expand Down

0 comments on commit fb92a52

Please sign in to comment.