fix: replacement of a substring with itself (#17497)
Resolves [Code Scanning Alert 218](https://github.com/twentyhq/twenty/security/code-scanning/218).
This commit is contained in:
+1
-1
@@ -24,7 +24,7 @@ import { TypedReflect } from 'src/utils/typed-reflect';
|
||||
|
||||
jest.mock('src/engine/core-modules/auth/auth.util', () => ({
|
||||
encryptText: jest.fn((text) => `${text}`),
|
||||
decryptText: jest.fn((text) => text.replace('', '')),
|
||||
decryptText: jest.fn((text) => `${text}`),
|
||||
}));
|
||||
|
||||
describe('ConfigStorageService', () => {
|
||||
|
||||
Reference in New Issue
Block a user